Domain Strategy: - fig.systems: Homelab services only (removed edfig.dev fallback from all services) - edfig.dev: Professional/public sites (personal site, blog) - figgy.foo: Experimental/private content (SSO protected) Removed edfig.dev Fallbacks: - Updated 22 compose files to remove || Host(...edfig.dev) pattern - All homelab services now use fig.systems only - Traefik email remains admin@edfig.dev Added Caddy Static Sites Service: - compose/services/static-sites/ with Caddy 2 - Serves three domains with different configurations: * edfig.dev (personal/professional) - Public, no SSO * blog.edfig.dev (blog) - Public, Markdown rendering, templates * figgy.foo (experimental) - SSO protected, directory browsing - Example sites with modern, responsive designs - Comprehensive README with usage examples - Auto-reload on config changes (no restarts needed) Features: - Markdown rendering (write .md, serves as HTML) - Go templates for dynamic content - Directory browsing (figgy.foo) - Automatic gzip compression - Static asset caching - Zero-downtime config reloads Updated Documentation: - README.md: Added domain strategy section, static sites in directory structure - README.md: Added static sites to service URLs table - README.md: Updated deployment instructions
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
# Jellyfin Media Server
|
|
# Docs: https://jellyfin.org/docs/general/installation/container/?method=docker-compose
|
|
# Transcoding: https://jellyfin.org/docs/general/post-install/transcoding/hardware-acceleration/nvidia
|
|
|
|
services:
|
|
jellyfin:
|
|
container_name: jellyfin
|
|
image: lscr.io/linuxserver/jellyfin:latest
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./config:/config
|
|
- ./cache:/cache
|
|
# Media folders (read-only)
|
|
- /media/movies:/media/movies:ro
|
|
- /media/tv:/media/tv:ro
|
|
- /media/music:/media/music:ro
|
|
- /media/photos:/media/photos:ro
|
|
- /media/homemovies:/media/homemovies:ro
|
|
ports:
|
|
- "8096:8096"
|
|
- "7359:7359/udp" # Optional - for autodiscovery
|
|
restart: unless-stopped
|
|
networks:
|
|
- homelab
|
|
labels:
|
|
traefik.enable: true
|
|
traefik.http.routers.jellyfin.rule: Host(`flix.fig.systems`)
|
|
traefik.http.routers.jellyfin.entrypoints: websecure
|
|
traefik.http.routers.jellyfin.tls.certresolver: letsencrypt
|
|
traefik.http.services.jellyfin.loadbalancer.server.port: 8096
|
|
# Note: Jellyfin has its own auth system, SSO middleware disabled by default
|
|
# Uncomment the line below to enable SSO (requires users to auth via tinyauth first)
|
|
# traefik.http.routers.jellyfin.middlewares: tinyauth
|
|
|
|
# Uncomment for NVIDIA GPU transcoding (GTX 1070)
|
|
# Requires NVIDIA Container Toolkit installed on host
|
|
# runtime: nvidia
|
|
# deploy:
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - driver: nvidia
|
|
# count: all
|
|
# capabilities: [gpu]
|
|
|
|
networks:
|
|
homelab:
|
|
external: true
|