-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (41 loc) · 1.02 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
version: '3.9'
services:
redis:
image: redis
proxy:
build:
context: .
dockerfile: Dockerfile
target: prod
environment:
- SENTRY_PROXY_LOG_LEVEL=DEBUG
- SENTRY_PROXY_KEY_FORMAT='{environment}:{exception}'
- SENTRY_PROXY_TTL=3600
- SENTRY_PROXY_RATE=10
- SENTRY_PROXY_STORAGE=REDIS
- SENTRY_PROXY_REDIS_URL=redis://redis:6379/0
- SENTRY_PROXY_STRATEGY=COOLDOWN
- SENTRY_PROXY_REDIS_FLUSHDB_ON_START=yes
command:
- --hostname
- 0.0.0.0
- --log-format
- "%(asctime)s [%(levelname)s] %(message)s"
- --plugins
- sentry_proxy.SentryPlugin
- --ca-key-file
- /home/certs/ca-key.pem
- --ca-cert-file
- /home/certs/ca-cert.pem
- --ca-signing-key-file
- /home/certs/ca-signing-key.pem
- --ca-file
- /etc/ssl/certs/ca-certificates.crt
restart: always
depends_on:
- redis
ports:
- 8899:8899
volumes:
- ./plugins:/home/plugins
- ./certs:/home/certs