Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consistent use of maps for docker-compose environment #206

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions actions-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ services:
- pwmanager.local
- test-browser
environment:
- MYSQL_HOST=db
- MYSQL_DATABASE=silauth
- MYSQL_USER=silauth
- MYSQL_PASSWORD=silauth
- PROFILE_URL_FOR_TESTS=http://pwmanager.local/module.php/core/authenticate.php?as=ssp-hub
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=b
- SECRET_SALT=abc123
- IDP_NAME=x
MYSQL_HOST: db
MYSQL_DATABASE: silauth
MYSQL_USER: silauth
MYSQL_PASSWORD: silauth
PROFILE_URL_FOR_TESTS: http://pwmanager.local/module.php/core/authenticate.php?as=ssp-hub
ADMIN_EMAIL: [email protected]
ADMIN_PASS: b
SECRET_SALT: abc123
IDP_NAME: x
volumes:
- ./dockerbuild/run-integration-tests.sh:/data/run-integration-tests.sh
- ./dockerbuild/run-metadata-tests.sh:/data/run-metadata-tests.sh
Expand Down Expand Up @@ -210,13 +210,13 @@ services:
- ./development/sp2-local/metadata/saml20-idp-remote.php:/data/vendor/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php

environment:
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=sp2
- SECRET_SALT=h57fjemb&dn^nsJFGNjweJz2
- SECURE_COOKIE=false
- SHOW_SAML_ERRORS=true
- SAML20_IDP_ENABLE=false
- ADMIN_PROTECT_INDEX_PAGE=false
ADMIN_EMAIL: [email protected]
ADMIN_PASS: sp2
SECRET_SALT: h57fjemb&dn^nsJFGNjweJz2
SECURE_COOKIE: "false"
briskt marked this conversation as resolved.
Show resolved Hide resolved
SHOW_SAML_ERRORS: "true"
SAML20_IDP_ENABLE: "false"
ADMIN_PROTECT_INDEX_PAGE: "false"

ssp-sp3.local:
build: .
Expand All @@ -232,13 +232,13 @@ services:
- ./development/sp3-local/metadata/saml20-idp-remote.php:/data/vendor/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php

environment:
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=sp3
- SECRET_SALT=h57fjemb&dn^nsJFGNjweJz3
- SECURE_COOKIE=false
- SHOW_SAML_ERRORS=true
- SAML20_IDP_ENABLE=false
- ADMIN_PROTECT_INDEX_PAGE=false
ADMIN_EMAIL: [email protected]
ADMIN_PASS: sp3
SECRET_SALT: h57fjemb&dn^nsJFGNjweJz3
SECURE_COOKIE: "false"
SHOW_SAML_ERRORS: "true"
SAML20_IDP_ENABLE: "false"
ADMIN_PROTECT_INDEX_PAGE: "false"


pwmanager.local:
Expand All @@ -253,15 +253,15 @@ services:
# Utilize custom metadata
- ./development/sp-local/metadata/saml20-idp-remote.php:/data/vendor/simplesamlphp/simplesamlphp/metadata/saml20-idp-remote.php
environment:
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=sp1
- IDP_NAME=THIS VARIABLE IS REQUIRED BUT PROBABLY NOT USED
- SECRET_SALT=NOT-a-secret-k49fjfkw73hjf9t87wjiw
- SECURE_COOKIE=false
- SHOW_SAML_ERRORS=true
- SAML20_IDP_ENABLE=false
- ADMIN_PROTECT_INDEX_PAGE=false
- THEME_USE=default
ADMIN_EMAIL: [email protected]
ADMIN_PASS: sp1
IDP_NAME: THIS VARIABLE IS REQUIRED BUT PROBABLY NOT USED
SECRET_SALT: NOT-a-secret-k49fjfkw73hjf9t87wjiw
SECURE_COOKIE: "false"
SHOW_SAML_ERRORS: "true"
SAML20_IDP_ENABLE: "false"
ADMIN_PROTECT_INDEX_PAGE: "false"
THEME_USE: default

# the broker and brokerDb containers are used by the silauth module
broker:
Expand Down
62 changes: 31 additions & 31 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ services:
- pwmanager.local
- test-browser
environment:
- MYSQL_HOST=db
- MYSQL_DATABASE=silauth
- MYSQL_USER=silauth
- MYSQL_PASSWORD=silauth
- COMPOSER_CACHE_DIR=/composer
- PROFILE_URL_FOR_TESTS=http://pwmanager.local/module.php/core/authenticate.php?as=ssp-hub
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=b
- SECRET_SALT=abc123
- IDP_NAME=x
MYSQL_HOST: db
MYSQL_DATABASE: silauth
MYSQL_USER: silauth
MYSQL_PASSWORD: silauth
COMPOSER_CACHE_DIR: /composer
PROFILE_URL_FOR_TESTS: http://pwmanager.local/module.php/core/authenticate.php?as=ssp-hub
ADMIN_EMAIL: [email protected]
ADMIN_PASS: b
SECRET_SALT: abc123
IDP_NAME: x
volumes:
- ./composer.json:/data/composer.json
- ./composer.lock:/data/composer.lock
Expand Down Expand Up @@ -79,7 +79,7 @@ services:
env_file:
- ./local.env
environment:
- COMPOSER_CACHE_DIR=/composer
COMPOSER_CACHE_DIR: /composer

ssp-hub.local:
build: .
Expand Down Expand Up @@ -342,13 +342,13 @@ services:
env_file:
- local.env
environment:
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=sp3
- SECRET_SALT=h57fjemb&dn^nsJFGNjweJz3
- SECURE_COOKIE=false
- SHOW_SAML_ERRORS=true
- SAML20_IDP_ENABLE=false
- ADMIN_PROTECT_INDEX_PAGE=false
ADMIN_EMAIL: [email protected]
ADMIN_PASS: sp3
SECRET_SALT: h57fjemb&dn^nsJFGNjweJz3
SECURE_COOKIE: "false"
SHOW_SAML_ERRORS: "true"
SAML20_IDP_ENABLE: "false"
ADMIN_PROTECT_INDEX_PAGE: "false"

pwmanager.local:
image: silintl/ssp-base:develop
Expand All @@ -364,15 +364,15 @@ services:
ports:
- "8084:80"
environment:
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=sp1
- IDP_NAME=THIS VARIABLE IS REQUIRED BUT PROBABLY NOT USED
- SECRET_SALT=NOT-a-secret-k49fjfkw73hjf9t87wjiw
- SECURE_COOKIE=false
- SHOW_SAML_ERRORS=true
- SAML20_IDP_ENABLE=false
- ADMIN_PROTECT_INDEX_PAGE=false
- THEME_USE=default
ADMIN_EMAIL: [email protected]
ADMIN_PASS: sp1
IDP_NAME: THIS VARIABLE IS REQUIRED BUT PROBABLY NOT USED
SECRET_SALT: NOT-a-secret-k49fjfkw73hjf9t87wjiw
SECURE_COOKIE: "false"
SHOW_SAML_ERRORS: "true"
SAML20_IDP_ENABLE: "false"
ADMIN_PROTECT_INDEX_PAGE: "false"
THEME_USE: material:material
briskt marked this conversation as resolved.
Show resolved Hide resolved

# the broker and brokerDb containers are used by the silauth module
broker:
Expand Down Expand Up @@ -429,10 +429,10 @@ services:
depends_on:
- dynamo
environment:
- AWS_ACCESS_KEY_ID=0
- AWS_SECRET_ACCESS_KEY=0
- AWS_DEFAULT_REGION=us-east-1
- AWS_DYNAMODB_ENDPOINT=http://dynamo:8000
AWS_ACCESS_KEY_ID: 0
AWS_SECRET_ACCESS_KEY: 0
AWS_DEFAULT_REGION: us-east-1
AWS_DYNAMODB_ENDPOINT: http://dynamo:8000

node:
image: node:lts-alpine
Expand Down