-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 1.04 KB
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/gsync/jobsync:latest
container_name: jobsync_app
ports:
- "3737:3737"
environment:
- NODE_ENV=production
- DATABASE_URL=file:/data/dev.db
- AUTH_SECRET=${AUTH_SECRET:-your-auth-secret}
- ENCRYPTION_KEY=${ENCRYPTION_KEY:-you-encryption-key-here}
- NEXTAUTH_URL=${NEXTAUTH_URL:-http://localhost:3737}
- AUTH_TRUST_HOST=${AUTH_TRUST_HOST:-true}
- TZ=${TZ:-America/Edmonton}
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY:-}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
- RAPIDAPI_KEY=${RAPIDAPI_KEY:-}
volumes:
- ./jobsyncdb/data:/data
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3737"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s