Skip to content

Instantly share code, notes, and snippets.

@luisfergromo
Created November 17, 2020 00:55
Show Gist options
  • Select an option

  • Save luisfergromo/02560294fcc7165991f462d241161c37 to your computer and use it in GitHub Desktop.

Select an option

Save luisfergromo/02560294fcc7165991f462d241161c37 to your computer and use it in GitHub Desktop.
version: "3"
services:
samba:
network_mode: host
container_name: samba
image: dperson/samba:rpi
restart: always
command: '-u "username;password" -s "media;/media;yes;no" -s "downloads;/downloads;yes;no" -s "ssd;ssd;yes;no"'
stdin_open: true
tty: true
ports:
- 139:139
- 445:445
volumes:
- ${MEDIA}:/media
- ${STORAGE}/torrents:/downloads
- ${STORAGE}:/ssd
plex:
container_name: plex
network_mode: host
image: linuxserver/plex:latest
expose:
- 32400
- 33400
hostname: raspberrypi
# environment:
# - PLEX_CLAIM= "raspberrypi"
volumes:
- ${STORAGE}/Plex Media Server:/root/Library/Application Support/Plex Media Server
- ${MEDIA}:/media
- ${STORAGE}/tmp:/tmp
- ${STORAGE}/torrents:/torrents
restart: unless-stopped
transmission:
image: linuxserver/transmission
container_name: transmission
environment:
- PUID=1000
- PGID=1000
- TZ=America/Mexico_City
# - TRANSMISSION_WEB_HOME=/combustion-release/ #optional
# - USER=username #optional
# - PASS=password #optional
volumes:
- ${STORAGE}/transmision/config:/config
- ${STORAGE}/torrents:/downloads
- ${STORAGE}/transmision/watch:/watch
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
network_mode: host
restart: unless-stopped
pihole:
container_name: pihole
image: pihole/pihole:latest
hostname: pihole
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
- "443:443/tcp"
environment:
TZ: "America/Mexico_City"
WEBPASSWORD: '123'
ServerIP: "StaticIP"
# Volumes store your data between container upgrades
volumes:
- "${STORAGE}/etc-pihole/:/etc/pihole/"
- "${STORAGE}/etc-dnsmasq.d/:/etc/dnsmasq.d/"
# Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
#cap_add:
# - NET_ADMIN
network_mode: host
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment