From b65ff7aca97bfe1220ec98d2d595ac50c21d2c7e Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 24 Jan 2024 14:46:26 +0100 Subject: [PATCH] pilots xo9b and setem work on the new idhub way this is partial work when migrating from using each one a branch vs all in main --- .env.example | 4 ++++ docker-compose__pilot-setem.yml | 4 ++++ docker-compose__pilot-xo9b.yml | 4 ++++ 3 files changed, 12 insertions(+) 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: