2
0

Merge pull request #4 from mihaibogdan10/master

Mount docker postgres volume on host
This commit is contained in:
Matt Robenolt 2016-08-04 09:59:41 -07:00 committed by GitHub
commit c759b3665a

View File

@ -14,7 +14,7 @@ services:
SENTRY_POSTGRES_HOST: postgres SENTRY_POSTGRES_HOST: postgres
SENTRY_EMAIL_HOST: smtp SENTRY_EMAIL_HOST: smtp
volumes: volumes:
- ./data:/var/lib/sentry/files - ./data/sentry:/var/lib/sentry/files
smtp: smtp:
image: tianon/exim4 image: tianon/exim4
@ -27,6 +27,8 @@ services:
postgres: postgres:
image: postgres:9.5 image: postgres:9.5
volumes:
- ./data/postgres:/var/lib/postgresql/data
web: web:
extends: base extends: base