Commit 2d34aded authored by charlie's avatar charlie
Browse files

Merge branch 'pgdata' into 'master'

Use Docker volume for postgres data?

See merge request !14
parents f61b3ba4 e5f98740
Pipeline #3851 canceled with stage
......@@ -5,7 +5,7 @@ services:
ports:
- "5432:5432"
volumes:
- ./postgres:/var/lib/postgresql/data
- pgdata:/var/lib/postgresql/data
redis:
image: 'redis:latest'
ports:
......@@ -44,3 +44,5 @@ volumes:
gems:
# Flagging this as "external" means it will use the volume named "gems" on the host instead of making a new volume specific to this docker-compose file
external: true
pgdata:
external: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment