Skip to content

Instantly share code, notes, and snippets.

@vertig0ne
Last active August 21, 2021 03:30
Show Gist options
  • Save vertig0ne/c6e7b6d1d886bbd424b95c994d6dd4d1 to your computer and use it in GitHub Desktop.
Save vertig0ne/c6e7b6d1d886bbd424b95c994d6dd4d1 to your computer and use it in GitHub Desktop.
Docker-compose file designed for use on machines which have public ip address
---
networks:
internal:
driver: bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: 1.2.3.4
services:
plex:
container_name: plex
environment:
- PGID=1005
- PUID=1001
- "TZ=Europe/France"
- "PLEX_CLAIM="
- "ADVERTISE_IP=http://1.2.3.4:32400/"
hostname: plex
image: plexinc/pms-docker:plexpass
networks:
- internal
ports:
- "32400:32400/tcp"
restart: unless-stopped
volumes:
- "/home/user/.docker/plex:/config"
- "/dev/shm:/transcode"
- "/mnt/media:/mnt/media"
xteve:
container_name: xteve
image: bl0m1/xtevedocker:latest
volumes:
- /home/user/.docker/xteve:/root/xteve
networks:
- internal
telly:
container_name: telly
image: tellytv/telly:v1.5.0
restart: unless-stopped
volumes:
- /home/user/.docker/telly:/etc/telly
networks:
- internal
command: --database.file=/etc/telly/telly.db
organizr:
container_name: "organizr"
environment:
- PGID=1005
- PUID=1001
hostname: organizr
image: organizrtools/organizr-v2:php-fpm
networks:
- internal
volumes:
- /home/user/.docker/organizr:/config
tautulli:
container_name: tautulli
environment:
- "PGID=1005"
- "PUID=1001"
- "TZ=Europe/France"
hostname: tautulli
image: tautulli/tautulli
networks:
- internal
volumes:
- "/home/user/.docker/tautulli:/config"
radarr:
container_name: radarr
environment:
- "PGID=1005"
- "PUID=1001"
- TZ=Europe/France
hostname: radarr
image: linuxserver/radarr
networks:
- internal
restart: unless-stopped
volumes:
- "/home/user/.docker/radarr:/config"
- "/mnt/media/FILM:/movies:rw"
- "/home/user/downloads:/downloads"
- "/home/user/downloads_nzb:/downloads_nzb"
- "/media/sdb/downloads:/downloads_hdd"
sonarr:
container_name: "sonarr"
image: lsiodev/sonarr-preview:latest
hostname: sonarr
environment:
- "PGID=1005"
- "PUID=1001"
- "TZ=Europe/France"
networks:
- internal
volumes:
- "/mnt/media/TV:/tv:rw"
- "/home/user/.docker/sonarr:/config:rw"
- "/home/user/downloads:/downloads"
- "/home/user/downloads_nzb:/downloads_nzb"
- "/media/sdb/downloads:/downloads_hdd"
jackett:
container_name: "jackett"
environment:
- "PGID=1005"
- "PUID=1001"
- TZ=Europe/France
hostname: jackett
image: linuxserver/jackett
networks:
- internal
restart: unless-stopped
volumes:
- "/home/user/.docker/jackett:/config"
rutorrent:
container_name: "rutorrent"
environment:
- "PGID=1005"
- "PUID=1001"
- TZ=Europe/France
hostname: rutorrent
image: xeroxmalf/rutorrent-autodl-irssi
networks:
- internal
ports:
- "45586-45596:45586-45596/tcp"
restart: unless-stopped
volumes:
- "/home/user/.docker/rutrorrent:/config"
- "/home/user/downloads:/downloads"
- "/media/sdb/downloads:/downloads_hdd"
nzbget:
container_name: nzbget
environment:
- "PGID=1005"
- "PUID=1001"
- TZ=Europe/France
hostname: nzbget
image: linuxserver/nzbget
networks:
- internal
restart: unless-stopped
volumes:
- /home/user/.docker/nzbget:/config
- /home/user/downloads_nzb:/downloads_nzb
znc:
container_name: znc
image: linuxserver/znc:latest
hostname: znc
environment:
- "PGID=1005"
- "PUID=1001"
- TZ=Europe/France
volumes:
- /home/user/.docker/znc:/config
ports:
- 6501:6501
mediabutler:
container_name: "mediabutler"
image: mediabutler/server:latest
hostname: mediabutler
environment:
- "URL=https://domain.tld/mediabutler/"
- "DB_URL=mongodb://mongo:27017/mediabutler"
- "PLEX_URL=http://plex:32400/"
volumes:
- /home/user/.docker/mediabutler:/config:rw
networks:
- internal
ports:
- 9876:9876
links:
- mongo
depends_on:
- mongo
grafana:
image: grafana/grafana:latest
container_name: grafana
hostname: grafana
environment:
- "GF_SERVER_ROOT_URL=https://domain.tld/grafana"
networks:
- internal
influxdb:
image: influxdb:latest
container_name: influxdb
environment:
- INFLUXDB_DATA_ENGINE=tsm1
- INFLUXDB_REPORTING_DISABLED=false
networks:
- internal
volumes:
- /home/user/.docker/influxdb:/var/lib/influxdb
varken:
container_name: varken
image: boerderij/varken:latest
environment:
- "PGID=1005"
- "PUID=1001"
- TZ=Europe/France
volumes:
- /home/user/.docker/varken:/config
networks:
- internal
mongo:
image: mongo:latest
container_name: "mongo"
hostname: mongo
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
- MONGO_URL=mongodb://mongo:27017/
volumes:
- /home/user/.docker/mediabutler/db:/data/db:rw
networks:
- internal
command: mongod --smallfiles --bind_ip_all
letsencrypt:
container_name: letsencrypt
cap_add:
- NET_ADMIN
environment:
- TZ=Europe/France
- URL=domain.tld
- VALIDATION=http
- PGID=1005
- PUID=1001
hostname: letsencrypt
image: linuxserver/letsencrypt
networks:
- internal
restart: unless-stopped
volumes:
- /home/user/.docker/letsencrypt:/config
ports:
- 80:80
- 443:443
version: "2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment