Files
redlight/compose.yml
Michelle 8be973a166
Some checks failed
Build & Push Docker Image / build (push) Has been cancelled
Add mail verification and use .env insteads of environment in compose
2026-02-24 20:35:08 +01:00

29 lines
563 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
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
volumes:
pgdata:
uploads: