Files
lck-control-backend/docker-compose.yml

20 lines
422 B
YAML

services:
backend:
build: .
container_name: lck-control-backend
restart: unless-stopped
ports:
- "3100:3000"
volumes:
- ./data:/app/data
env_file:
- .env
environment:
- DATABASE_URL=file:/app/data/lck.db
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s