Skip to content

Commit

Permalink
Fix the missing deoployment on Payera detected on
Browse files Browse the repository at this point in the history
Windows caused by a race condition due the database
not being ready when the DV container started.
  • Loading branch information
jp-tosca committed Nov 3, 2023
1 parent 3f59f72 commit 7892ec7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/docker/scripts/init_3_wait_dataverse_db_host.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#It was reported on 9949 that on the first launch of the containers Dataverse would not be deployed on payara
#this was caused by a race condition due postgress not being ready. A solion for docker compose was prepared
#but didn't work due a compatibility issue on the Maven pluggin [https://github.com/fabric8io/docker-maven-plugin/issues/888]
wait-for "${DATAVERSE_DB_HOST:-postgres}:${DATAVERSE_DB_PORT:-5432}" -t 120

0 comments on commit 7892ec7

Please sign in to comment.