Skip to content

Commit

Permalink
fix #159
Browse files Browse the repository at this point in the history
  • Loading branch information
MdreW committed Sep 16, 2024
1 parent 1080c92 commit d786ad0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Docker-compose/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ TZ="Europe/Rome"
MONGO_DBUSER=satosa
MONGO_DBPASSWORD=thatpassword

# Mongo express authentication
EXPRESS_USER=satosauser
EXPRESS_PASSWORD=-satosapw

# The path containing your secrets
SATOSA_KEYS_FOLDER=./pki
# Keys filename
Expand Down
4 changes: 2 additions & 2 deletions Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ services:
depends_on:
- satosa-mongo
environment:
ME_CONFIG_BASICAUTH_USERNAME: satosauser
ME_CONFIG_BASICAUTH_PASSWORD: satosapw
ME_CONFIG_BASICAUTH_USERNAME: "${EXPRESS_USER:-satosauser}"
ME_CONFIG_BASICAUTH_PASSWORD: "${EXPRESS_PASSWORD:-satosapw}"
ME_CONFIG_MONGODB_ADMINUSERNAME: "${MONGO_DBUSER:-satosa}"
ME_CONFIG_MONGODB_ADMINPASSWORD: "${MONGO_DBPASSWORD:-thatpassword}"
ME_CONFIG_MONGODB_URL: mongodb://${MONGO_DBUSER:-satosa}:${MONGO_DBPASSWORD:-thatpassword}@satosa-mongo:27017/
Expand Down

0 comments on commit d786ad0

Please sign in to comment.