-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
45 lines (40 loc) · 1.24 KB
/
docker-compose.example.yml
File metadata and controls
45 lines (40 loc) · 1.24 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
# Flexerr - Example Docker Compose
# Copy this file to docker-compose.yml and customize as needed
#
# Quick start:
# docker compose up -d
#
# Then open http://localhost:5505 in your browser
services:
flexerr:
image: sybersects/flexerr:latest
container_name: flexerr
restart: unless-stopped
ports:
- "5505:5505"
volumes:
- flexerr-data:/app/data
# Optional: Mount media folder for Auto Convert feature
# - /path/to/your/media:/Media
environment:
- TZ=America/Los_Angeles
- PORT=5505
- NODE_ENV=production
# Optional: Set a fixed JWT secret (auto-generated if not set)
# - JWT_SECRET=your-secret-here
# ============================================
# GPU ACCESS FOR HARDWARE-ACCELERATED ENCODING
# ============================================
# Uncomment ONE of the following GPU configurations:
# --- NVIDIA GPU (RTX/GTX cards with NVENC) ---
# Requires: NVIDIA Container Toolkit installed on host
# runtime: nvidia
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
# --- AMD/Intel GPU (VAAPI) ---
# devices:
# - /dev/dri:/dev/dri
volumes:
flexerr-data:
name: flexerr-data