Skip to content

Commit 0052015

Browse files
author
matthias_schaub
committed
change data cluster path
1 parent 0d03452 commit 0052015

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,13 @@ services:
7373
POSTGERS_PASSWORD: '${POSTGRES_PASSWORD}'
7474
POSTGRES_USER: 'mapswipe_workers'
7575
POSTGRES_DB: 'mapswipe'
76+
PGDATA: '/var/lib/postgresql/mapswipe'
7677
WALG_GS_PREFIX: '${WALG_GS_PREFIX}'
7778
GOOGLE_APPLICATION_CREDENTIALS: '/serviceAccountKey.json'
7879
# Set options for WAL-G (backup tool)
7980
command: postgres -c archive_mode=on -c archive_timeout=60 -c archive_command="/archive_command.sh %p"
8081
volumes:
81-
- ./postgres-data:/var/lib/postgresql/data
82+
- ./postgres-data:/var/lib/postgresql/mapswipe
8283
restart: unless-stopped
8384
ports:
8485
- "5432:5432"

0 commit comments

Comments
 (0)