Use restart-policy for nginx & relay (#448)
This commit is contained in:
parent
67ef528168
commit
d31f46831e
@ -163,6 +163,7 @@ services:
|
|||||||
BASE_IMAGE: 'sentry-onpremise-local'
|
BASE_IMAGE: 'sentry-onpremise-local'
|
||||||
command: '"0 0 * * * gosu sentry sentry cleanup --days $SENTRY_EVENT_RETENTION_DAYS"'
|
command: '"0 0 * * * gosu sentry sentry cleanup --days $SENTRY_EVENT_RETENTION_DAYS"'
|
||||||
nginx:
|
nginx:
|
||||||
|
<< : *restart_policy
|
||||||
ports:
|
ports:
|
||||||
- '9000:80/tcp'
|
- '9000:80/tcp'
|
||||||
image: "nginx:1.16"
|
image: "nginx:1.16"
|
||||||
@ -175,6 +176,7 @@ services:
|
|||||||
- web
|
- web
|
||||||
- relay
|
- relay
|
||||||
relay:
|
relay:
|
||||||
|
<< : *restart_policy
|
||||||
image: "us.gcr.io/sentryio/relay:latest"
|
image: "us.gcr.io/sentryio/relay:latest"
|
||||||
command: 'run --config /etc/relay'
|
command: 'run --config /etc/relay'
|
||||||
volumes:
|
volumes:
|
||||||
|
Reference in New Issue
Block a user