1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 16:24:19 +00:00
todocolors/todopod/docker-compose.yml

24 lines
665 B
YAML

services:
redis:
image: "redis"
restart: unless-stopped
command: >-
redis-server
--save 60 1
--loglevel notice
volumes:
- "./data/redis/rdata:/data"
red:
image: "ghcr.io/steffo99/todocolors-red"
restart: unless-stopped
environment:
REDIS_CONN: "redis://redis:6379/" # You probably don't need to change this
ports:
- "127.0.0.1:8080:8080"
blue:
image: "ghcr.io/steffo99/todocolors-blue"
restart: unless-stopped
environment:
NEXT_PUBLIC_API_BASE_URL: "ws://example.org:8080" # Change this to the URL where red will be accessible at
ports:
- "127.0.0.1:8081:8081"