Merge pull request #4 from mihaibogdan10/master
Mount docker postgres volume on host
This commit is contained in:
commit
c759b3665a
@ -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
|
||||||
|
Reference in New Issue
Block a user