|
@@ -1,17 +1,14 @@
|
|
|
-version: '2'
|
|
|
-
|
|
|
-volumes:
|
|
|
- sql:
|
|
|
+version: '3'
|
|
|
|
|
|
services:
|
|
|
redis:
|
|
|
image: redis:alpine
|
|
|
restart: unless-stopped
|
|
|
postgres:
|
|
|
- image: postgres:10-alpine
|
|
|
+ image: postgres:11-alpine
|
|
|
restart: unless-stopped
|
|
|
volumes:
|
|
|
- - "sql:/var/lib/postgresql/data"
|
|
|
+ - ${CHATONS_ROOT_DIR:-/srv/chatons}/nextcloud/db:/var/lib/postgresql/data
|
|
|
sentry:
|
|
|
image: sentry
|
|
|
restart: unless-stopped
|
|
@@ -22,11 +19,11 @@ services:
|
|
|
- default
|
|
|
labels:
|
|
|
traefik.enable: "true"
|
|
|
- traefik.frontend.rule: "Host: sentry.${DOMAIN_NAME}, www.sentry.${DOMAIN_NAME}"
|
|
|
+ traefik.frontend.rule: "Host: sentry.${CHATONS_DOMAIN:-localhost}, www.sentry.${CHATONS_DOMAIN:-localhost}"
|
|
|
environment:
|
|
|
- SENTRY_REDIS_HOST=redis
|
|
|
- SENTRY_POSTGRES_HOST=postgres
|
|
|
- - SENTRY_SERVER_EMAIL=sentry@${DOMAIN_NAME}
|
|
|
+ - SENTRY_SERVER_EMAIL=sentry@${CHATONS_DOMAIN:-localhost}
|
|
|
cron:
|
|
|
command: "sentry run cron"
|
|
|
image: sentry
|