diff --git a/.gitignore b/.gitignore index 9770adff..41e9ffaf 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ example/private/* *pyFF_example/entities example_sp/djangosaml2_sp/sqlite3.db project/* + +my_docker_volumes +my_custom_configurations \ No newline at end of file diff --git a/compose-Satosa-Saml2Spid/.env b/compose-Satosa-Saml2Spid/.env index f025a248..8102492c 100644 --- a/compose-Satosa-Saml2Spid/.env +++ b/compose-Satosa-Saml2Spid/.env @@ -1,3 +1,3 @@ MONGO_DBUSER=satosa MONGO_DBPASSWORD=thatpassword -HOSTNAME=localhost +HOSTNAME=10.0.2.15 diff --git a/compose-Satosa-Saml2Spid/docker-compose.yml b/compose-Satosa-Saml2Spid/docker-compose.yml index df36d701..f1a2b624 100644 --- a/compose-Satosa-Saml2Spid/docker-compose.yml +++ b/compose-Satosa-Saml2Spid/docker-compose.yml @@ -77,9 +77,11 @@ services: - "9999:9999" volumes: - /usr/share/zoneinfo/Europe/Rome:/etc/localtime:ro - - satosa_metadata:/satosa_proxy/metadata + - ../my_docker_volumes/metadata:/satosa_proxy/metadata - satosa_static:/satosa_proxy/static - satosa_certs:/satosa_proxy/pki + - ../my_custom_configurations/target_based_routing.yaml:/satosa_proxy/plugins/microservices/target_based_routing.yaml + - ../my_custom_configurations/spid-idps.js:/satosa_proxy/static/spid/spid-idps.js satosa-nginx: image: nginx:alpine @@ -94,7 +96,7 @@ services: - ./nginx/50x.html:/usr/share/nginx/html/50x.html:ro - ./nginx/404.html:/usr/share/nginx/html/404.html:ro - ./nginx/403.html:/usr/share/nginx/html/403.html:ro - - nginx_certs:/etc/nginx/certs:ro + - ../my_docker_volumes/nginx/certs:/etc/nginx/certs:ro - satosa_static:/var/www/html volumes: