mirror of
https://github.com/yibaiba/hideck.git
synced 2026-12-05 16:02:17 +00:00
25 lines
659 B
YAML
25 lines
659 B
YAML
services:
|
|
hideck:
|
|
image: yibaiba/hideck:latest
|
|
container_name: hideck
|
|
restart: unless-stopped
|
|
init: true
|
|
stop_grace_period: 30s
|
|
# host 网络让 HiDeck 直接监听配置的 UDP 端口,WebRTC 媒体不经过 Caddy。
|
|
network_mode: host
|
|
privileged: true
|
|
volumes:
|
|
- ./config:/app/config
|
|
- ./data:/app/data
|
|
- ./logs:/app/logs
|
|
# Keep the whole /dev bind: USB re-enumeration changes ADB and PCM nodes.
|
|
- /dev:/dev
|
|
environment:
|
|
TZ: Asia/Shanghai
|
|
CONFIG_PATH: /app/config/config.yaml
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: 10m
|
|
max-file: "3"
|