create compose.yml
This commit is contained in:
37
compose.yml
Normal file
37
compose.yml
Normal 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:
|
||||||
Reference in New Issue
Block a user