Skip to content

Instantly share code, notes, and snippets.

@fullmetalbrackets
Created July 15, 2024 18:54
Show Gist options
  • Save fullmetalbrackets/f747d43682c2f56a287ea42b309792ef to your computer and use it in GitHub Desktop.
Save fullmetalbrackets/f747d43682c2f56a287ea42b309792ef to your computer and use it in GitHub Desktop.
Plex + Cloudflare Tunnel
services:
plex:
restart: unless-stopped
container_name: plex
image: linuxserver/plex:latest
network_mode: host
environment:
- TZ=America/New_York
- PLEX_UID=1000
- PLEX_GID=1000
volumes:
- /path/to/plex:/config
- /path/to/movies:/movies
- /path/to/tvshows:/tvshows
- /path/to/music:/music
devices:
- /dev/dri:/dev/dri
tunnel:
restart: unless-stopped
container_name: tunnel
image: cloudflare/cloudflared:latest
command: tunnel run
environment:
- TUNNEL_TOKEN=
depends_on:
- plex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment