mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-22 00:04:18 +00:00
Stefano Pigozzi
72c0353c90
- Rate limiting - Server at the bottom of the page - New run configurations
25 lines
587 B
YAML
25 lines
587 B
YAML
services:
|
|
redis:
|
|
image: "redis"
|
|
restart: unless-stopped
|
|
command: >-
|
|
redis-server
|
|
--save 60 1
|
|
--loglevel notice
|
|
volumes:
|
|
- "./data/redis/rdata:/data"
|
|
red:
|
|
build: "../todored"
|
|
restart: unless-stopped
|
|
environment:
|
|
REDIS_CONN: "redis://redis:6379/" # You probably don't need to change this
|
|
blue:
|
|
build: "../todoblue"
|
|
restart: unless-stopped
|
|
caddy:
|
|
image: "caddy"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "./data/caddy:/data"
|
|
- "./config/caddy/Caddyfile:/etc/caddy/Caddyfile"
|
|
network_mode: host
|