Skip to content

Commit 3d0a092

Browse files
authored
Add postgres volume (#100)
1 parent 131c518 commit 3d0a092

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
interval: 1s
1616
volumes:
1717
- ./docker-compose/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
18+
- pgdata:/var/lib/postgresql/data
1819

1920
redis:
2021
image: redis:7-bullseye
@@ -53,3 +54,6 @@ services:
5354
ports:
5455
- "1080:1080"
5556
- "1025:1025"
57+
58+
volumes:
59+
pgdata:

0 commit comments

Comments
 (0)