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:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- {{ redis_data_dir }}:/data
|
- {{ redis_data_dir }}:/data
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Add table
Reference in a new issue