create compose.yml
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m10s
Build & Push Docker Image / build (release) Successful in 1m12s

This commit is contained in:
2026-02-24 18:21:33 +01:00
parent d4c9d2231d
commit d79dfe86c7

37
compose.yml Normal file
View File

@@ -0,0 +1,37 @@
services:
redlight:
image: git.scrunkly.cat/michelle/redlight:latest
restart: unless-stopped
ports:
- "3001:3001"
environment:
DATABASE_URL: postgres://redlight:redlight@postgres:5432/redlight
BBB_URL: https://your-bbb-server.com/bigbluebutton/api/
BBB_SECRET: your-bbb-shared-secret
JWT_SECRET: change-me-to-a-random-secret
ADMIN_EMAIL: admin@example.com
ADMIN_PASSWORD: admin123
volumes:
- uploads:/app/uploads
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_USER: redlight
POSTGRES_PASSWORD: redlight
POSTGRES_DB: redlight
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U redlight"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pgdata:
uploads: