-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (34 loc) · 978 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (34 loc) · 978 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
32
33
34
35
36
37
38
39
services:
boon-tube-daemon:
# Use pre-built image from GitHub Container Registry
# Or build locally: uncomment 'build' and comment 'image'
image: ghcr.io/chiefgyk3d/boon-tube-daemon:latest
# build:
# context: .
# dockerfile: docker/Dockerfile
# no_cache: true
# pull: true
container_name: boon-tube-daemon
restart: unless-stopped
# Mount .env file from host
env_file:
- .env
# Mount config directory as volume (optional, for persistent state)
volumes:
- ./config:/app/config
# Environment variables
environment:
- PYTHONUNBUFFERED=1
# Health check — verify PID 1 (main process) is alive
healthcheck:
test: ["CMD-SHELL", "test -d /proc/1"]
interval: 5m
timeout: 5s
retries: 3
start_period: 30s
# Logging configuration
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"