Skip to content

Commit

Permalink
fix #129 - Rename HOSTNAME env in SATOSA_HOSTNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
MdreW committed Feb 22, 2024
1 parent b38cd7f commit 138e9f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Docker-compose/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MONGO_DBUSER=satosa
MONGO_DBPASSWORD=thatpassword
HOSTNAME=localhost
SATOSA_HOSTNAME=localhost
SATOSA_KEYS_FOLDER=./pki
2 changes: 1 addition & 1 deletion Docker-compose/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HOSTNAME=localhost
SATOSA_HOSTNAME=localhost

# MongoDB authentication
MONGO_DBUSER=satosa
Expand Down
10 changes: 5 additions & 5 deletions Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ services:
- BASE_DIR=/satosa_proxy
- SATOSA_BY_DOCKER=1

- SATOSA_BASE=https://${HOSTNAME:-localhost}
- SATOSA_BASE_STATIC=https://${HOSTNAME:-localhost}/static
- SATOSA_DISCO_SRV=https://${HOSTNAME:-localhost}/static/disco.html
- SATOSA_UNKNOW_ERROR_REDIRECT_PAGE=https://${HOSTNAME:-localhost}/static/error_page.html
- SATOSA_BASE=https://${SATOSA_HOSTNAME:-localhost}
- SATOSA_BASE_STATIC=https://${SATOSA_HOSTNAME:-localhost}/static
- SATOSA_DISCO_SRV=https://${SATOSA_HOSTNAME:-localhost}/static/disco.html
- SATOSA_UNKNOW_ERROR_REDIRECT_PAGE=https://${SATOSA_HOSTNAME:-localhost}/static/error_page.html

- MONGODB_USERNAME=${MONGO_DBUSER:-satosa}
- MONGODB_PASSWORD=${MONGO_DBPASSWORD:-thatpassword}
Expand Down Expand Up @@ -146,7 +146,7 @@ services:
networks:
- satosa-saml2spid
environment:
- NGINX_HOST=${HOSTNAME:-localhost}
- NGINX_HOST=${SATOSA_HOSTNAME:-localhost}

spid-samlcheck:
image: italia/spid-saml-check
Expand Down

0 comments on commit 138e9f5

Please sign in to comment.