Skip to content

Commit 05bfc4f

Browse files
committed
Add PostgreSQL configuration to .env.example and create Docker Swarm compose file
1 parent 0656d89 commit 05bfc4f

File tree

2 files changed

+645
-0
lines changed

2 files changed

+645
-0
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ENVIRONMENT=production
1010
POSTGRES_DB=people
1111
POSTGRES_USER_FILE=/run/secrets/db-user
1212
POSTGRES_PASSWORD_FILE=/run/secrets/db-password
13+
PGDATA=/var/lib/postgresql/data/pgdata
14+
POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
1315

1416
# ----------------------------------------------------------------------------
1517
# SPRING

0 commit comments

Comments
 (0)