-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
111 lines (97 loc) · 3.42 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: '3'
services:
# sentry upgrade
sentry-upgrade:
image: registry.gitlab.com/containerinfra/sentry:9.0.0
command: "sentry upgrade --noinput"
environment:
# OPTIONAL: Include if you're using email
SENTRY_EMAIL_HOST: smtp
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
# OPTIONAL: Include if Sentry is available over HTTPS
SOCIAL_AUTH_REDIRECT_IS_HTTPS: 'false'
# Replace key
SENTRY_SECRET_KEY: '1ffz7qx@f5ss_g&s_^ugi2_j192one)8((3zv%enur0%a9)gvh'
volumes:
- ./srv/sentry/sentry:/var/lib/sentry/files
sentry-base:
image: registry.gitlab.com/containerinfra/sentry:9.0.0
container_name: sentry-base
restart: unless-stopped
ports:
- 880:9000
environment:
OIDC_CLIENT_ID: ''
OIDC_CLIENT_SECRET: ''
ODIC_SCOPE: 'openid read_user'
ODIC_WELL_KNOWN_URL: 'https://gitlab.com'
# https://gitlab.com/.well-known/openid-configuration
# OPTIONAL: Include if you're using email
SENTRY_EMAIL_HOST: smtp
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
SENTRY_SINGLE_ORGANIZATION: 'false'
# OPTIONAL: Include if Sentry is available over HTTPS
SOCIAL_AUTH_REDIRECT_IS_HTTPS: 'false'
# Replace key
SENTRY_SECRET_KEY: '1ffz7qx@f5ss_g&s_^ugi2_j192one)8((3zv%enur0%a9)gvh'
volumes:
- ./srv/sentry/sentry:/var/lib/sentry/files
sentry-cron:
image: registry.gitlab.com/containerinfra/sentry:9.0.0
restart: unless-stopped
command: "sentry run cron"
environment:
OIDC_CLIENT_ID: ''
OIDC_CLIENT_SECRET: ''
ODIC_SCOPE: 'openid read_user'
ODIC_WELL_KNOWN_URL: 'https://gitlab.com'
# https://gitlab.com/.well-known/openid-configuration
# OPTIONAL: Include if you're using email
SENTRY_EMAIL_HOST: smtp
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
# OPTIONAL: Include if Sentry is available over HTTPS
SOCIAL_AUTH_REDIRECT_IS_HTTPS: 'false'
# Replace key
SENTRY_SECRET_KEY: '1ffz7qx@f5ss_g&s_^ugi2_j192one)8((3zv%enur0%a9)gvh'
volumes:
- ./srv/sentry/sentry:/var/lib/sentry/files
sentry-worker:
image: registry.gitlab.com/containerinfra/sentry:9.0.0
command: "sentry run worker"
environment:
OIDC_CLIENT_ID: ''
OIDC_CLIENT_SECRET: ''
ODIC_SCOPE: 'openid read_user'
ODIC_WELL_KNOWN_URL: 'https://gitlab.com'
# https://gitlab.com/.well-known/openid-configuration
# OPTIONAL: Include if you're using email
SENTRY_EMAIL_HOST: smtp
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
# OPTIONAL: Include if Sentry is available over HTTPS
SOCIAL_AUTH_REDIRECT_IS_HTTPS: 'false'
# Replace key
SENTRY_SECRET_KEY: '1ffz7qx@f5ss_g&s_^ugi2_j192one)8((3zv%enur0%a9)gvh'
volumes:
- ./srv/sentry/sentry:/var/lib/sentry/files
sentry-redis:
image: 'redis:latest'
sentry-postgres:
image: 'postgres:latest'
environment:
POSTGRES_USER: sentry
POSTGRES_PASSWORD: sentry
POSTGRES_DB: sentry
volumes:
- ./srv/sentry/postgres:/var/lib/postgresql/data