refactor: replace ports with expose in docker-compose for services
This commit is contained in:
+6
-6
@@ -10,8 +10,8 @@ services:
|
||||
DJANGO_ALLOWED_HOSTS: ${CIE_AUTH_ALLOWED_HOSTS:-*}
|
||||
DJANGO_TRUST_ANCHOR: ${DJANGO_TRUST_ANCHOR:-http://federation-authority:8000}
|
||||
LOAD_FIXTURE_ON_EMPTY_DB: ${FEDERATION_AUTHORITY_LOAD_FIXTURE_ON_EMPTY_DB:-true}
|
||||
ports:
|
||||
- "${FEDERATION_AUTHORITY_PORT:-8000}:8000"
|
||||
expose:
|
||||
- "8000"
|
||||
volumes:
|
||||
- ./federation_authority:/app/federation_authority
|
||||
- federation-authority-data:/app/federation_authority/db
|
||||
@@ -29,8 +29,8 @@ services:
|
||||
DJANGO_TRUST_ANCHOR: ${DJANGO_TRUST_ANCHOR:-http://federation-authority:8000}
|
||||
DJANGO_PROVIDER_ISSUER: ${DJANGO_PROVIDER_ISSUER:-http://provider:8002/oidc/op}
|
||||
LOAD_FIXTURE_ON_EMPTY_DB: ${PROVIDER_LOAD_FIXTURE_ON_EMPTY_DB:-true}
|
||||
ports:
|
||||
- "${PROVIDER_PORT:-8002}:8002"
|
||||
expose:
|
||||
- "8002"
|
||||
volumes:
|
||||
- ./provider:/app/provider
|
||||
- provider-data:/app/provider/db
|
||||
@@ -53,8 +53,8 @@ services:
|
||||
DJANGO_RP_SHARED_SECRET: ${DJANGO_RP_SHARED_SECRET:-change-me-for-local-dev}
|
||||
DJANGO_RP_DEFAULT_PROVIDER: ${DJANGO_RP_DEFAULT_PROVIDER:-http://provider:8002/oidc/op}
|
||||
LOAD_FIXTURE_ON_EMPTY_DB: ${RELYING_PARTY_LOAD_FIXTURE_ON_EMPTY_DB:-true}
|
||||
ports:
|
||||
- "${RELYING_PARTY_PORT:-8001}:8001"
|
||||
expose:
|
||||
- "8001"
|
||||
volumes:
|
||||
- ./relying_party:/app/relying_party
|
||||
- relying-party-data:/app/relying_party/db
|
||||
|
||||
Reference in New Issue
Block a user