Skip to content

Commit

Permalink
Finish hotfix/init_demo_db
Browse files Browse the repository at this point in the history
Hotfix/init demo db
  • Loading branch information
dragos-dobre authored Mar 24, 2023
2 parents 9baf0c2 + 2668cad commit 763b564
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ HTTP_PORT=80
# https port for openimis
HTTPS_PORT=443

# Uncomment the line below to intiate the database with the DEMO dataset, it will create an empty openIMIS database otherwise
#INIT_MODE=demo
DB_PASSWORD=IMISuserP@s
DB_USER=IMISuser
DB_NAME=IMIS
Expand Down
1 change: 1 addition & 0 deletions docker-compose-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- ACCEPT_EULA=${ACCEPT_EULA}
- INIT_MODE=${INIT_MODE}
healthcheck:
test: "bash /app/healthcheck.sh"
interval: 10s
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ services:
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- INIT_MODE=${INIT_MODE}
healthcheck:
test: pg_isready -U ${DB_USER} -d ${DB_NAME}
interval: 10s
Expand Down

0 comments on commit 763b564

Please sign in to comment.