diff --git a/ansible/roles/web/templates/docker-compose.j2 b/ansible/roles/web/templates/docker-compose.j2 index 291c137..ad105f2 100644 --- a/ansible/roles/web/templates/docker-compose.j2 +++ b/ansible/roles/web/templates/docker-compose.j2 @@ -25,6 +25,7 @@ web: redis: image: redis command: ["redis-server", "--appendonly", "yes"] + restart: on-failure volumes: - {{ redis_data_dir }}:/data ports: