Restart redis on reboot (#7)

Restarts the redis container on a reboot to prevent scalelite from not starting.
This commit is contained in:
simonschweizer
2021-02-23 20:52:16 +01:00
committed by GitHub
parent af4144a06e
commit 23f60d4721

View File

@@ -19,7 +19,7 @@ services:
image: redis:5.0-alpine
command: ["redis-server", "--appendonly", "yes"]
container_name: redis
restart: on-failure
restart: unless-stopped
volumes:
- redis-data:/data