Files
redlight/compose.yml
Michelle 3556aaede7
All checks were successful
Build & Push Docker Image / build (push) Successful in 6m14s
Add DragonflyDB integration for JWT revocation and implement rate limiting for authentication routes
2026-02-28 13:37:27 +01:00

45 lines
920 B
YAML

services:
redlight:
image: git.scrunkly.cat/michelle/redlight:latest
restart: unless-stopped
ports:
- "3001:3001"
env_file: ".env"
volumes:
- uploads:/app/uploads
depends_on:
postgres:
condition: service_healthy
dragonfly:
condition: service_healthy
postgres:
image: postgres:17-alpine
restart: unless-stopped
env_file: ".env"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U redlight"]
interval: 5s
timeout: 5s
retries: 5
dragonfly:
image: ghcr.io/dragonflydb/dragonfly:latest
restart: unless-stopped
ulimits:
memlock: -1
volumes:
- dragonflydata:/data
healthcheck:
test: ["CMD", "redis-cli", "-p", "6379", "ping"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pgdata:
uploads:
dragonflydata: