Move postgres data into a non-mounted volume
This commit is contained in:
parent
49d4d70602
commit
b67f4929c0
@ -21,7 +21,7 @@ services:
|
||||
db:
|
||||
image: mdillon/postgis:9.6-alpine
|
||||
volumes:
|
||||
- .containers/db:/var/lib/postgresql/data
|
||||
- postgres-data-volume:/var/lib/postgresql/data
|
||||
- ./support/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
@ -39,3 +39,4 @@ services:
|
||||
|
||||
volumes:
|
||||
weblate-data:
|
||||
postgres-data-volume:
|
||||
|
Loading…
Reference in New Issue
Block a user