mirror of https://github.com/samply/bridgehead.git
Fixed environment variable passing for Directory sync
There were problems with the passing of environment variables from bbmri.conf to the Directory synce container: * The Directory password variable was misspellt. * Some useful variables were missing. Additionally, a delay was added before launching Directory sync, to give Blaze time to start up.
This commit is contained in:
parent
4a13395408
commit
b8b81b1242
|
@ -6,7 +6,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
DS_DIRECTORY_URL: ${DS_DIRECTORY_URL}
|
DS_DIRECTORY_URL: ${DS_DIRECTORY_URL}
|
||||||
DS_DIRECTORY_USER_NAME: ${DS_DIRECTORY_USER_NAME}
|
DS_DIRECTORY_USER_NAME: ${DS_DIRECTORY_USER_NAME}
|
||||||
DS_DIRECTORY_PASS_CODE: ${DS_DIRECTORY_PASS_CODE}
|
DS_DIRECTORY_USER_PASS: ${DS_DIRECTORY_USER_PASS}
|
||||||
DS_TIMER_CRON: ${DS_TIMER_CRON}
|
DS_TIMER_CRON: ${DS_TIMER_CRON}
|
||||||
# It is recommended to check the enabling of this flag with your local data protection group
|
# It is recommended to check the enabling of this flag with your local data protection group
|
||||||
DS_DIRECTORY_ALLOW_STAR_MODEL: ${DS_DIRECTORY_ALLOW_STAR_MODEL}
|
DS_DIRECTORY_ALLOW_STAR_MODEL: ${DS_DIRECTORY_ALLOW_STAR_MODEL}
|
||||||
|
DS_DIRECTORY_MOCK: ${DS_DIRECTORY_MOCK}
|
||||||
|
DS_DIRECTORY_DEFAULT_COLLECTION_ID: ${DS_DIRECTORY_DEFAULT_COLLECTION_ID}
|
||||||
|
DS_DIRECTORY_COUNTRY: ${DS_DIRECTORY_COUNTRY}
|
||||||
|
command: sh -c "sleep 90 && java -jar directory_sync_service.jar" # Wait for Blaze before start
|
||||||
|
|
Loading…
Reference in New Issue