From d31f46831e5138655c942d46dc6e4efae84dcb87 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Mon, 27 Apr 2020 16:15:17 +0100 Subject: [PATCH] Use restart-policy for nginx & relay (#448) --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ae12c1b..61aa2fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: