Don't always restart the nginx container 06/9806/2
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 29 Mar 2018 19:57:50 +0000 (12:57 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 6 Apr 2018 23:47:16 +0000 (23:47 +0000)
If there are errors bringing up the docker-compose environment, the
nginx container will still continue to run causing other projects that
expect port 80 to be available to fail.

Change-Id: I33715f5326514ef7945826d717e7a44ac1e5337b
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
docker-compose.yml

index b7fe2ef..7a8e162 100644 (file)
@@ -95,7 +95,6 @@ services:
             - "5432"
     nginx:
         image: jwilder/nginx-proxy:latest
-        restart: always
         container_name: releng-ingress
         ports:
             - "80:80"