Skip to content

Commit b252375

Browse files
committed
Add a dev volume
1 parent 90237c9 commit b252375

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ services:
2020
# "npm run payload migrate:create" isn't possible from within the host machine unless the port is exposed
2121
# and access throught localhost:5432 instead of postgres:5432
2222
- 5432:5432
23+
volumes: !override
24+
- pgdata_dev:/var/lib/postgresql/data
2325
nginx:
2426
develop:
2527
watch:
@@ -31,3 +33,6 @@ services:
3133
target: /etc/nginx/templates/
3234
ports:
3335
- 1001:443
36+
37+
volumes:
38+
pgdata_dev:

0 commit comments

Comments
 (0)