chore: Initial commit of Opencord base state

This commit is contained in:
Jannis Braun
2026-02-18 02:49:21 +01:00
commit 4fd17084a5
124 changed files with 17955 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
version: "3.8"
services:
opencord:
build: .
container_name: opencord
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
volumes:
- opencord-data:/app/data
env_file:
- .env
environment:
- NODE_ENV=production
- DB_PATH=/app/data/opencord.db
- UPLOAD_DIR=/app/data/uploads
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://localhost:3000/api/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
opencord-data:
driver: local