-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (48 loc) · 1.58 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
50 lines (48 loc) · 1.58 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
ffforge:
container_name: ffforge
image: ghcr.io/channinghe/ffforge:latest
restart: unless-stopped
ports:
- "38110:8080"
volumes:
- /your/media/path:/data
# Mount output directory
- ./ffforge/output:/output
# Mount config directory
- ./ffforge/config:/app/config
# Mount database directory
#- ./ffforge/config/database:/app/config/database
# Optional: Mount custom FFmpeg binary (uncomment if needed)
# - /path/to/your/ffmpeg:/usr/local/bin/ffmpeg:ro
# - /path/to/your/ffprobe:/usr/local/bin/ffprobe:ro
environment:
- PORT=8080
# Paths
- DATA_PATH=/data
- OUTPUT_PATH=/output
- CONFIG_PATH=/app/config
- DATABASE_PATH=/app/config/database/ffforge.db
# CORS
- CORS_ORIGINS=http://localhost:3000
# FFmpeg paths (default: /usr/local/bin/ffmpeg and /usr/local/bin/ffprobe)
# Override these if you mount custom binaries elsewhere
# - FFMPEG_PATH=/usr/local/bin/ffmpeg
# - FFPROBE_PATH=/usr/local/bin/ffprobe
# ============ intel gpu configuration ============
# if you want to use Intel GPU, uncomment the following:
# devices:
# - /dev/dri/renderD128:/dev/dri/renderD128
# ============ nvidia gpu configuration ============
# if you want to use NVIDIA GPU, uncomment the following:
# runtime: nvidia
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
networks:
ffweb-network:
driver: bridge