-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
36 lines (34 loc) · 1.08 KB
/
docker-compose.prod.yml
File metadata and controls
36 lines (34 loc) · 1.08 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
32
33
34
35
36
# ====================
# AscendSkip Production Compose
# ====================
# Just run: docker compose -f docker-compose.prod.yml up -d
# ====================
version: '3.8'
services:
ascendskip:
# Pulls the pre-built image from GitHub Container Registry
# You do NOT need to build anything yourself!
image: ghcr.io/cxsmo_ai/ascendskip:latest
container_name: ascendskip
restart: unless-stopped
ports:
- "${PORT:-7070}:7070"
environment:
- NODE_ENV=production
- PORT=7070
- PUBLIC_URL=${PUBLIC_URL:-http://localhost:7070}
- SESSION_SECRET=${SESSION_SECRET:-changeme_in_production}
# Optional integrations
- MONGODB_URI=${MONGODB_URI:-}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-}
- RPDB_KEY=${RPDB_KEY:-}
- OMDB_API_KEY=${OMDB_API_KEY:-}
volumes:
# Persist essential data
- ./data:/app/data
healthcheck:
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7070/api/session/stats" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s