mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Use docker volumes for postgres database
This commit is contained in:
@@ -22,8 +22,10 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: postgres:9.6-alpine
|
||||
image: postgres:10-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql
|
||||
environment:
|
||||
- POSTGRES_USER=limesurvey
|
||||
- POSTGRES_DB=limesurvey
|
||||
@@ -31,3 +33,4 @@ services:
|
||||
|
||||
volumes:
|
||||
limesurvey:
|
||||
db-data:
|
||||
|
||||
Reference in New Issue
Block a user