bugfix port redirection

and propose this change to all docker compose things
This commit is contained in:
pedro 2024-04-03 13:44:30 +02:00
parent 4c1731413e
commit 67bff62999

View file

@ -14,7 +14,6 @@ services:
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}
- MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/} - MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/}
- PORT=${IDHUB_PORT:-9001}
- DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL} - DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL}
- EMAIL_HOST=${IDHUB_EMAIL_HOST} - EMAIL_HOST=${IDHUB_EMAIL_HOST}
- EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER} - EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER}
@ -27,7 +26,7 @@ services:
- OIDC_OIRGS=examples/organizations__pilot_ereuse.csv - OIDC_OIRGS=examples/organizations__pilot_ereuse.csv
- OIDC_REDIRECT=true - OIDC_REDIRECT=true
ports: ports:
- 9101:9001 - 9101:8000
volumes: volumes:
- ./idhub1__pilot-ereuse:/opt/idhub - ./idhub1__pilot-ereuse:/opt/idhub
- sharedsecret:/sharedsecret:rw - sharedsecret:/sharedsecret:rw
@ -45,7 +44,6 @@ services:
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}
- MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/} - MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/}
- PORT=${IDHUB_PORT:-9002}
- DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL} - DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL}
- EMAIL_HOST=${IDHUB_EMAIL_HOST} - EMAIL_HOST=${IDHUB_EMAIL_HOST}
- EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER} - EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER}
@ -58,7 +56,7 @@ services:
- OIDC_OIRGS=examples/organizations__pilot_ereuse.csv - OIDC_OIRGS=examples/organizations__pilot_ereuse.csv
- OIDC_REDIRECT=true - OIDC_REDIRECT=true
ports: ports:
- 9102:9001 - 9102:8000
volumes: volumes:
- ./idhub2__pilot-ereuse:/opt/idhub - ./idhub2__pilot-ereuse:/opt/idhub
- sharedsecret:/sharedsecret:rw - sharedsecret:/sharedsecret:rw