diff --git a/.env.example b/.env.example index 6d66066..977db02 100644 --- a/.env.example +++ b/.env.example @@ -89,6 +89,10 @@ IDHUB_USER='admin' IDHUB_PASSWD='admin' IDHUB_EMAIL='admin@example.org' +# this option needs to be set to 'n' to be able to make work idhub in docker +# by default it is set to 'y' to facilitate idhub dev when outside docker +IDHUB_SYNC_ORG_DEV='n' + # AUTHENTIK aka goauthentik #### diff --git a/docker-compose__pilot-setem.yml b/docker-compose__pilot-setem.yml index 62e63c1..727de6e 100644 --- a/docker-compose__pilot-setem.yml +++ b/docker-compose__pilot-setem.yml @@ -25,6 +25,8 @@ services: - RESPONSE_URI=https://idhub1-setem.demo.pangea.org/oidc4vp/ - ALLOW_CODE_URI=https://idhub1-setem.demo.pangea.org/oidc4vp/allow_code - SUPPORTED_CREDENTIALS=['MembershipCard'] + - SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV} + - ORG_FILE=examples/organizations__pilot_setem.csv ports: - 9011:9001 volumes: @@ -55,6 +57,8 @@ services: - RESPONSE_URI=https://idhub2-setem.demo.pangea.org/oidc4vp/ - ALLOW_CODE_URI=https://idhub2-setem.demo.pangea.org/oidc4vp/allow_code - SUPPORTED_CREDENTIALS=['MembershipCard'] + - SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV} + - ORG_FILE=examples/organizations__pilot_setem.csv ports: - 9012:9002 volumes: diff --git a/docker-compose__pilot-xo9b.yml b/docker-compose__pilot-xo9b.yml index 1450c88..14902a9 100644 --- a/docker-compose__pilot-xo9b.yml +++ b/docker-compose__pilot-xo9b.yml @@ -25,6 +25,8 @@ services: - RESPONSE_URI=https://idhub1-xo9b.demo.pangea.org/oidc4vp/ - ALLOW_CODE_URI=https://idhub1-xo9b.demo.pangea.org/oidc4vp/allow_code - SUPPORTED_CREDENTIALS=['MembershipCard'] + - SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV} + - ORG_FILE=examples/organizations__pilot_xo9b.csv ports: - 9001:9001 volumes: @@ -55,6 +57,8 @@ services: - RESPONSE_URI=https://idhub2-xo9b.demo.pangea.org/oidc4vp/ - ALLOW_CODE_URI=https://idhub2-xo9b.demo.pangea.org/oidc4vp/allow_code - SUPPORTED_CREDENTIALS=['MembershipCard'] + - SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV} + - ORG_FILE=examples/organizations__pilot_xo9b.csv ports: - 9002:9002 volumes: