96 lines
2.1 KiB
YAML
Executable File
96 lines
2.1 KiB
YAML
Executable File
version: '3.9'
|
|
|
|
services:
|
|
jellyfin:
|
|
container_name: jellyfin
|
|
image: jellyfin/jellyfin
|
|
# user: 1000:1000
|
|
volumes:
|
|
- ./Jellyfin/config:/config
|
|
- ./Jellyfin/cache:/cache
|
|
- ./Jellyfin/data:/data
|
|
- ${ANIME_FOLDER}:/Anime
|
|
- ${MUSIC_FOLDER}:/Music
|
|
- ${MOVIES_FOLDER}:/Movies
|
|
# ports: 8096:8096
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=${TIMEZONE}
|
|
- PUID=1000
|
|
- PGID=1000
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|
|
|
|
shoko_server:
|
|
container_name: shokoserver
|
|
image: shokoanime/server:daily
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=${TIMEZONE}
|
|
- AVDUMP_MONO=true
|
|
ports:
|
|
- 8111:8111
|
|
volumes:
|
|
- ./ShokoAnime:/home/shoko/.shoko/Shoko.CLI
|
|
- ${ANIME_FOLDER}:/mnt/anime
|
|
- ${BASE_DOWNLOADS_FOLDER}/import:/mnt/import
|
|
|
|
qbittorrent:
|
|
container_name: qbittorrent
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=${TIMEZONE}
|
|
- WEBUI_PORT=9090
|
|
volumes:
|
|
- ./qBittorrent/config:/config
|
|
- ./qBittorrent/scripts:/scripts
|
|
- ${BASE_DOWNLOADS_FOLDER}:/base
|
|
- ${MUSIC_FOLDER}:/Music
|
|
- ${MOVIES_FOLDER}:/Movies
|
|
# ports:
|
|
# - 9090:9090
|
|
# - 6881:6881
|
|
# - 6881:6881/udp
|
|
restart: unless-stopped
|
|
|
|
caddy:
|
|
container_name: caddy
|
|
build: ./Caddy
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./Caddy/Caddyfile:/etc/caddy/Caddyfile
|
|
- ./Caddy/site:/srv
|
|
- ./Caddy/data:/data
|
|
- ./Caddy/config:/config
|
|
user: root
|
|
depends_on:
|
|
- cloudflared
|
|
|
|
cloudflared:
|
|
container_name: cloudflared
|
|
build:
|
|
context: ./Cloudflared
|
|
args:
|
|
DOMAIN: '${DOMAIN}'
|
|
TUNNEL_UUID: '${TUNNEL_UUID}'
|
|
env_file:
|
|
- .env
|
|
command: 'tunnel --config /etc/cloudflared/config.yml run'
|
|
restart: unless-stopped
|
|
# ports:
|
|
# - 80:80
|
|
# - 443:443
|
|
# - 443:443/udp
|
|
user: root
|