Add restart on-failure
This commit is contained in:
parent
9631012127
commit
f1c4367c09
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ web:
|
|||
redis:
|
||||
image: redis
|
||||
command: ["redis-server", "--appendonly", "yes"]
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- {{ redis_data_dir }}:/data
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue