summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorsimonschweizer <5512013+simonschweizer@users.noreply.github.com>2021-02-23 20:52:16 +0100
committerGitHub <noreply@github.com>2021-02-23 14:52:16 -0500
commit23f60d4721bd18127c88db385fe62cfc2cf39dd9 (patch)
tree5c1ca4d7475e35fb8cf160ebc0fac630b8624c7e /docker-compose.yml
parentaf4144a06e5e2802e58ee0669c3f30181de5bdc5 (diff)
downloadscalelite-run-itzks-23f60d4721bd18127c88db385fe62cfc2cf39dd9.tar.gz
scalelite-run-itzks-23f60d4721bd18127c88db385fe62cfc2cf39dd9.tar.bz2
scalelite-run-itzks-23f60d4721bd18127c88db385fe62cfc2cf39dd9.zip
Restart redis on reboot (#7)
Restarts the redis container on a reboot to prevent scalelite from not starting.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index b9d7bbc..beb198c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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