Skip to content

Commit

Permalink
fix: restart nginx service on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
buraksezer committed Sep 27, 2020
1 parent e31f0ab commit 065e541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/docker-compose.yml
Expand Up @@ -3,6 +3,7 @@ version: '3'
services:
nginx:
image: nginx:latest
restart: on-failure
volumes:
- ${PWD}/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
Expand Down Expand Up @@ -37,6 +38,7 @@ services:

olric-dev:
image: docker.io/olricio/olric-dev:latest
restart: on-failure
environment:
- OLRICD_CONFIG=/etc/olricd.yaml
- CGO_ENABLED=1
Expand Down

0 comments on commit 065e541

Please sign in to comment.