2
0

Use restart-policy for nginx & relay (#448)

This commit is contained in:
Joshua Gigg 2020-04-27 16:15:17 +01:00 committed by GitHub
parent 67ef528168
commit d31f46831e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,6 +163,7 @@ services:
BASE_IMAGE: 'sentry-onpremise-local'
command: '"0 0 * * * gosu sentry sentry cleanup --days $SENTRY_EVENT_RETENTION_DAYS"'
nginx:
<< : *restart_policy
ports:
- '9000:80/tcp'
image: "nginx:1.16"
@ -175,6 +176,7 @@ services:
- web
- relay
relay:
<< : *restart_policy
image: "us.gcr.io/sentryio/relay:latest"
command: 'run --config /etc/relay'
volumes: