sentry: Create new catalog version with correct Sentry healthcheck request_line.
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
sentry-postgres:
|
||||
environment:
|
||||
POSTGRES_DB: ${sentry_db_name}
|
||||
POSTGRES_USER: ${sentry_db_user}
|
||||
POSTGRES_PASSWORD: ${sentry_db_pass}
|
||||
PGDATA: /data/postgres/data
|
||||
log_driver: ''
|
||||
labels:
|
||||
io.rancher.sidekicks: sentry-postgres-datavolume
|
||||
io.rancher.container.hostname_override: container_name
|
||||
volumes_from:
|
||||
- sentry-postgres-datavolume
|
||||
tty: true
|
||||
log_opt: {}
|
||||
image: postgres:9.6-alpine
|
||||
stdin_open: true
|
||||
sentry-postgres-datavolume:
|
||||
image: alpine
|
||||
stdin_open: true
|
||||
net: none
|
||||
entrypoint:
|
||||
- /bin/true
|
||||
volumes:
|
||||
- /data/postgres/data
|
||||
tty: true
|
||||
labels:
|
||||
io.rancher.container.start_once: 'true'
|
||||
sentry-cron:
|
||||
environment:
|
||||
SENTRY_EMAIL_HOST: ${sentry_email_host}
|
||||
SENTRY_EMAIL_PASSWORD: ${sentry_email_password}
|
||||
SENTRY_EMAIL_PORT: '${sentry_email_port}'
|
||||
SENTRY_EMAIL_USER: ${sentry_email_user}
|
||||
SENTRY_SECRET_KEY: ${sentry_secret_key}
|
||||
SENTRY_SERVER_EMAIL: ${sentry_server_email}
|
||||
SENTRY_POSTGRES_HOST: postgres
|
||||
SENTRY_DB_NAME: ${sentry_db_name}
|
||||
SENTRY_DB_USER: ${sentry_db_user}
|
||||
SENTRY_DB_PASSWORD: ${sentry_db_pass}
|
||||
log_driver: ''
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
tty: true
|
||||
command:
|
||||
- run
|
||||
- cron
|
||||
log_opt: {}
|
||||
image: sentry:8.21.0
|
||||
links:
|
||||
- sentry-postgres:postgres
|
||||
- sentry-redis:redis
|
||||
stdin_open: true
|
||||
sentry-redis:
|
||||
log_driver: ''
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
tty: true
|
||||
log_opt: {}
|
||||
image: redis:3.2-alpine
|
||||
stdin_open: true
|
||||
sentry:
|
||||
ports:
|
||||
- ${sentry_public_port}:9000/tcp
|
||||
environment:
|
||||
SENTRY_EMAIL_HOST: ${sentry_email_host}
|
||||
SENTRY_EMAIL_PASSWORD: ${sentry_email_password}
|
||||
SENTRY_EMAIL_PORT: '${sentry_email_port}'
|
||||
SENTRY_EMAIL_USER: ${sentry_email_user}
|
||||
SENTRY_SECRET_KEY: ${sentry_secret_key}
|
||||
SENTRY_SERVER_EMAIL: ${sentry_server_email}
|
||||
SENTRY_POSTGRES_HOST: postgres
|
||||
SENTRY_DB_NAME: ${sentry_db_name}
|
||||
SENTRY_DB_USER: ${sentry_db_user}
|
||||
SENTRY_DB_PASSWORD: ${sentry_db_pass}
|
||||
log_driver: ''
|
||||
labels:
|
||||
io.rancher.container.hostname_override: container_name
|
||||
tty: true
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- sentry upgrade --noinput && sentry createuser --email ${sentry_initial_user_email} --password ${sentry_initial_user_password} --superuser && /entrypoint.sh run web || /entrypoint.sh run web
|
||||
log_opt: {}
|
||||
image: sentry:8.21.0
|
||||
links:
|
||||
- sentry-postgres:postgres
|
||||
- sentry-redis:redis
|
||||
stdin_open: true
|
||||
sentry-worker:
|
||||
environment:
|
||||
SENTRY_EMAIL_HOST: ${sentry_email_host}
|
||||
SENTRY_EMAIL_PASSWORD: ${sentry_email_password}
|
||||
SENTRY_EMAIL_PORT: '${sentry_email_port}'
|
||||
SENTRY_EMAIL_USER: ${sentry_email_user}
|
||||
SENTRY_SECRET_KEY: ${sentry_secret_key}
|
||||
SENTRY_SERVER_EMAIL: ${sentry_server_email}
|
||||
SENTRY_POSTGRES_HOST: postgres
|
||||
SENTRY_DB_NAME: ${sentry_db_name}
|
||||
SENTRY_DB_USER: ${sentry_db_user}
|
||||
SENTRY_DB_PASSWORD: ${sentry_db_pass}
|
||||
log_driver: ''
|
||||
labels:
|
||||
io.rancher.scheduler.global: 'true'
|
||||
io.rancher.container.hostname_override: container_name
|
||||
tty: true
|
||||
command:
|
||||
- run
|
||||
- worker
|
||||
log_opt: {}
|
||||
image: sentry:8.21.0
|
||||
links:
|
||||
- sentry-postgres:postgres
|
||||
- sentry-redis:redis
|
||||
stdin_open: true
|
||||
Reference in New Issue
Block a user