Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3'
services:
db:
image: dhis2/postgres-contrib
restart: unless-stopped
environment:
POSTGRES_DB: apphub
POSTGRES_USER: apphub
POSTGRES_PASSWORD: apphub
ports:
- 5433:5432
10 changes: 5 additions & 5 deletions server/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ NODE_ENV=
# (i.e. no need to set them manually in EBS environments). In local/other
# environments configure these for the postgres database to use for the app hub
# backend.
RDS_HOSTNAME=
RDS_USERNAME=
RDS_PASSWORD=
RDS_DB_NAME=
RDS_DB_PORT=
RDS_HOSTNAME=localhost
RDS_USERNAME=apphub
RDS_PASSWORD=apphub
RDS_DB_NAME=apphub
RDS_DB_PORT=5433

# Authentication config.
# Set `NO_AUTH_MAPPED_USER_ID=true` if no auth is used (such as in development).
Expand Down