Skip to content

Commit 8fa06fa

Browse files
authored
docs: update PostgreSQL volume path in docker-compose (#242)
According to: docker-library/postgres#1259 The postgres data volume should no longer contain /data
1 parent 61bf3ef commit 8fa06fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/content/docs/setup/docker-start-to-finish.mdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
POSTGRES_USER: vikunja
5252

5353
volumes:
54-
- ./db:/var/lib/postgresql/data
54+
- ./db:/var/lib/postgresql
5555
restart: unless-stopped
5656
healthcheck:
5757
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]

src/content/docs/setup/full-docker-example.mdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ services:
142142
POSTGRES_PASSWORD: changeme
143143
POSTGRES_USER: vikunja
144144
volumes:
145-
- ./db:/var/lib/postgresql/data
145+
- ./db:/var/lib/postgresql
146146
restart: unless-stopped
147147
healthcheck:
148148
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]
@@ -198,7 +198,7 @@ services:
198198
POSTGRES_PASSWORD: changeme
199199
POSTGRES_USER: vikunja
200200
volumes:
201-
- ./db:/var/lib/postgresql/data
201+
- ./db:/var/lib/postgresql
202202
restart: unless-stopped
203203
healthcheck:
204204
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]
@@ -256,7 +256,7 @@ services:
256256
POSTGRES_PASSWORD: changeme
257257
POSTGRES_USER: vikunja
258258
volumes:
259-
- ./db:/var/lib/postgresql/data
259+
- ./db:/var/lib/postgresql
260260
restart: unless-stopped
261261
healthcheck:
262262
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]

0 commit comments

Comments
 (0)