Add restart on-failure

This commit is contained in:
Oleg Lavrovsky 2019-01-10 10:20:46 +01:00
parent 9631012127
commit f1c4367c09
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ web:
redis:
image: redis
command: ["redis-server", "--appendonly", "yes"]
restart: on-failure
volumes:
- {{ redis_data_dir }}:/data
ports: