Last active
August 3, 2020 23:14
-
-
Save kity-linuxero/88e69b85ec2c8df8f331f576fd7e52fd to your computer and use it in GitHub Desktop.
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
version: "3.6" | |
# Docker compose para Mi server | |
# Doc en: https://docs.docker.com/compose/compose-file/ | |
services: | |
pihole: | |
container_name: pihole | |
#image: pihole/pihole:latest | |
image: pihole/pihole:v5.0 | |
ports: | |
- "53:53/tcp" | |
- "53:53/udp" | |
#- "67:67/udp" | |
- "80:80/tcp" | |
# - "443:443/tcp" | |
environment: | |
TZ: 'America/Argentina/Buenos_Aires' | |
WEBPASSWORD: 'pindongaPlastica' | |
DNS1: '208.67.222.222' | |
DNS2: '208.67.220.220' | |
# Volumes store your data between container upgrades | |
#command: | |
tmpfs: /var/log:size=50M | |
volumes: | |
- ./pihole/etc/:/etc/pihole | |
- ./pihole/dnsmasq.d/:/etc/dnsmasq.d/ | |
- /etc/hostname:/etc/hostname:ro | |
- /mnt/touro/pihole/lighttpd:/var/log/lighttpd | |
dns: | |
- 127.0.0.1 | |
- 1.1.1.1 | |
# Recommended but not required (DHCP needs NET_ADMIN) | |
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities | |
#cap_add: | |
# - NET_ADMIN | |
networks: | |
lan: | |
ipv4_address: 192.168.88.30 #Es la ip que tendrá el dns | |
restart: unless-stopped | |
transmission: | |
image : jaymoulin/transmission | |
container_name: transmission | |
command: transmission-daemon -f -g /config | |
volumes: | |
- ./transmission:/config | |
- /mnt/touro/torrents/:/downloads | |
ports: | |
- 9091:9091 | |
- 51413:51413 | |
- 51413:51413/udp | |
restart: unless-stopped | |
plex: | |
image: linuxserver/plex | |
container_name: plex | |
network_mode: host | |
environment: | |
- PUID=911 | |
- PGID=911 | |
- VERSION=23.03.20 | |
ports: | |
- 32400:32400 | |
- 32400:32400/udp | |
- 32469:32469 | |
- 32469:32469/udp | |
- 33400:33400 | |
- 5353:5353/udp | |
- 32410-32414/udp | |
- 1900:1900/udp | |
hostname: plex | |
volumes: | |
- /mnt/touro/plex:/config | |
- /mnt/touro/media/video/pelis:/movies | |
- /mnt/touro/media/video/series:/tv | |
- /mnt/touro/plex/tmp:/tmp | |
restart: unless-stopped | |
# Para administrar en forma web los containers | |
portainer: | |
image: portainer/portainer | |
container_name: portainer | |
ports: | |
- "9000:9000" | |
command: -H unix:///var/run/docker.sock | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- ./portainer_data:/data | |
# Es como Subsonic | |
airsonic: | |
image: linuxserver/airsonic | |
container_name: airsonic | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ='America/Argentina/Buenos_Aires' | |
#- CONTEXT_PATH=URL_BASE #optional | |
#- JAVA_OPTS=options #optional | |
volumes: | |
- /mnt/touro/airsonic/config:/config | |
- /mnt/touro/media/music:/music:ro | |
- /mnt/touro/airsonic/playlists:/playlists | |
- /mnt/touro/airsonic/podcasts:/podcasts | |
- /mnt/touro/airsonic/other media:/media #optional | |
ports: | |
- 4040:4040 | |
restart: unless-stopped | |
# Para que el dns tenga otra ip | |
networks: | |
lan: | |
driver: macvlan | |
driver_opts: | |
parent: enx001e06365f09 | |
ipam: | |
config: | |
- subnet: "192.168.88.0/27" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment