Created
July 15, 2024 18:54
-
-
Save fullmetalbrackets/f747d43682c2f56a287ea42b309792ef to your computer and use it in GitHub Desktop.
Plex + Cloudflare Tunnel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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