Skip to content

Commit

Permalink
restart on failure (RyanNoelk#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNoelk authored Mar 21, 2017
1 parent fc11e6b commit 45bea82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'
services:
api:
build: api/
restart: always
restart: on-failure
volumes:
- static-files:/code/static-files
- site-media:/code/site-media
Expand Down
2 changes: 1 addition & 1 deletion docker-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
api:
image: openeats/api
command: ./base/gunicorn_start.sh
restart: always
restart: on-failure
volumes:
- static-files:/code/static-files
- site-media:/code/site-media
Expand Down
2 changes: 1 addition & 1 deletion docker-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
api:
build: api/
command: ./base/gunicorn_start.sh
restart: always
restart: on-failure
volumes:
- static-files:/code/static-files
- site-media:/code/site-media
Expand Down

0 comments on commit 45bea82

Please sign in to comment.