mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2026-02-05 07:40:55 +01:00
Restart redis on reboot (#7)
Restarts the redis container on a reboot to prevent scalelite from not starting.
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
|||||||
image: redis:5.0-alpine
|
image: redis:5.0-alpine
|
||||||
command: ["redis-server", "--appendonly", "yes"]
|
command: ["redis-server", "--appendonly", "yes"]
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: on-failure
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- redis-data:/data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user