1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-24 09:14:18 +00:00

todopod: Persist redis data

This commit is contained in:
Steffo 2023-08-04 21:31:04 +02:00 committed by GitHub
parent dc550564b6
commit bb54ebf9c9
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,12 @@ services:
redis: redis:
image: "redis" image: "redis"
restart: unless-stopped restart: unless-stopped
command: >-
redis-server
--save 60 1
--loglevel notice
volumes:
- "./data/redis/rdata:/data"
red: red:
image: "ghcr.io/steffo99/todocolors-red" image: "ghcr.io/steffo99/todocolors-red"
restart: unless-stopped restart: unless-stopped