docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
533 B

3 years ago
version: "3.5"
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
# user: uid:gid
# network_mode: "host"
ports:
- 8096:8096
- 8920:8920
volumes:
- ./path/to/config:/config
- ./path/to/cache:/cache
- ./path/to/media:/media
- ./path/to/media2:/media2:ro
restart: "unless-stopped"
# Optional - alternative address used for autodiscovery
environment:
- USER_UID=1000
- USER_GID=1000
- JELLYFIN_PublishedServerUrl=http://域名