-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
31 lines (27 loc) · 862 Bytes
/
compose.yaml
File metadata and controls
31 lines (27 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
app:
image: ghcr.io/skrylnikov/cutly:0.2.0
container_name: cutly-app
ports:
- "3000:3000"
environment:
# Database configuration
- DATABASE_URL=file:/app/data/app.db
# OIDC Configuration (optional - leave empty to disable authentication)
- OIDC_ISSUER=${OIDC_ISSUER:-}
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID:-}
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET:-}
- JWT_SECRET=${JWT_SECRET:-}
# Application URL (optional - defaults to http://localhost:3000)
- APP_URL=${APP_URL:-http://localhost:3000}
volumes:
- cutly-data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3000/api/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
cutly-data: