1
0
Fork 0
home-applications/docker-compose.yml

226 lines
6.6 KiB
YAML
Raw Permalink Normal View History

2020-10-13 18:17:54 -04:00
version: '3'
2017-07-05 21:03:25 -04:00
services:
2020-10-13 18:17:54 -04:00
traefik:
image: traefik:v2.3.1
container_name: traefik
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /mnt/data/docker/traefik/tls:/tls
environment:
PUID: 1000
PGID: 1000
env_file:
- traefik.env
ports:
- 443:443
command:
- --api
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.https.Address=:443
- --certificatesresolvers.letsencrypt.acme.tlschallenge=true
- --certificatesresolvers.letsencrypt.acme.email=${EMAIL}
- --certificatesresolvers.letsencrypt.acme.storage=/tls/letsencrypt.json
- --certificatesresolvers.ledns.acme.dnschallenge=true
- --certificatesresolvers.ledns.acme.dnschallenge.provider=cloudflare
- --certificatesresolvers.ledns.acme.email=${EMAIL}
- --certificatesresolvers.ledns.acme.storage=/tls/ledns.json
labels:
traefik.enable: "true"
traefik.http.routers.traefik.rule: Host(`traefik.${DOMAIN}`)
traefik.http.routers.traefik.entrypoints: https
traefik.http.routers.traefik.tls.certresolver: ledns
traefik.http.routers.traefik.service: api@internal
traefik.http.routers.traefik.middlewares: traefik-ips,traefik-auth
traefik.http.middlewares.traefik-ips.ipwhitelist.sourcerange: 127.0.0.1/32,172.16.0.0/12,192.168.1.0/24
traefik.http.middlewares.traefik-auth.basicauth.users: ${USERNAME}:${PASSWORD}
ha:
image: homeassistant/home-assistant:latest
depends_on:
- mqtt
container_name: ha
restart: unless-stopped
ports:
- 8123:8123
labels:
- traefik.enable=true
- traefik.backend=ha
- traefik.http.routers.ha.rule=Host(`ha.atomaka.com`)
- traefik.http.services.ha.loadbalancer.server.url=http://${SERVER_IP}:8123
- traefik.http.services.ha.loadbalancer.server.port=8123
- traefik.http.routers.ha.tls.certresolver=letsencrypt
- traefik.port=8123
volumes:
- /etc/localtime:/etc/localtime:ro
- /mnt/data/docker/ha/config:/config
devices:
- /dev/zwave:/dev/zwave:rwm
gitea:
container_name: gitea
image: gitea/gitea:1.8.3
volumes:
- /mnt/data/docker/gitea/data:/data
environment:
- USER_UID=1000
- USER_GID=1000
- DISABLE_REGISTRATION=true
ports:
- 3000
- "9062:22"
labels:
- traefik.enable=true
- traefik.backend=git
- traefik.http.routers.git.rule=Host(`git.${DOMAIN}`)
- traefik.http.routers.git.tls.certresolver=letsencrypt
- traefik.http.services.git.loadbalancer.server.port=3000
sonarr:
image: linuxserver/sonarr
container_name: sonarr
2017-12-05 11:10:07 -05:00
restart: always
ports:
2020-10-13 18:17:54 -04:00
- 8989
environment:
PUID: 1000
PGID: 1000
2017-12-05 11:10:07 -05:00
volumes:
2020-10-13 18:17:54 -04:00
- /mnt/data/docker/sonarr/config:/config
- /mnt/data/downloads:/data
- /mnt/data/downloads:/downloads
- /mnt/media/series/:/media
- /etc/localtime:/etc/localtime:ro
labels:
- traefik.enable=true
- traefik.backend=sonarr
- traefik.http.routers.sonarr.rule=Host(`sonarr.${DOMAIN}`)
- traefik.http.routers.sonarr.tls.certresolver=ledns
- traefik.http.routers.sonarr.middlewares=sonarr@docker
- traefik.http.middlewares.sonarr.ipwhitelist.sourcerange=127.0.0.1/32,172.16.0.0/12,192.168.1.0/24
radarr:
image: linuxserver/radarr
container_name: radarr
2017-12-05 11:10:07 -05:00
restart: always
2020-10-13 18:17:54 -04:00
ports:
- 7878
environment:
PUID: 1000
PGID: 1000
2017-12-05 11:10:07 -05:00
volumes:
2020-10-13 18:17:54 -04:00
- /mnt/data/docker/radarr/config:/config
- /mnt/data/downloads:/data
- /mnt/data/downloads:/downloads
- /mnt/media/movies/:/media
- /mnt/media/movies/:/movies
- /etc/localtime:/etc/localtime:ro
labels:
- traefik.enable=true
- traefik.backend=radarr
- traefik.http.routers.radarr.rule=Host(`radarr.${DOMAIN}`)
- traefik.http.routers.radarr.tls.certresolver=ledns
- traefik.http.routers.radarr.middlewares=radarr@docker
- traefik.http.middlewares.radarr.ipwhitelist.sourcerange=127.0.0.1/32,172.16.0.0/12,192.168.1.0/24
sabnzbd:
image: linuxserver/sabnzbd
container_name: sabnzbd
2017-12-05 11:10:07 -05:00
restart: always
volumes:
2020-10-13 18:17:54 -04:00
- /mnt/data/docker/sabnzbd/config:/config
- /mnt/data/downloads:/data
- /etc/localtime:/etc/localtime:ro
2017-12-05 11:10:07 -05:00
environment:
2020-10-13 18:17:54 -04:00
PUID: 1000
PGID: 1000
ports:
- 9052:8080
labels:
- traefik.enable=true
- traefik.backend=sabnzbd
- traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.${DOMAIN}`)
- traefik.http.routers.sabnzbd.tls.certresolver=ledns
- traefik.http.routers.sabnzbd.middlewares=sabnzbd@docker
- traefik.http.middlewares.sabnzbd.ipwhitelist.sourcerange=127.0.0.1/32,172.16.0.0/12,192.168.1.0/24
organizr:
image: lsiocommunity/organizr
container_name: organizr
restart: always
ports:
- 80
volumes:
- /mnt/data/docker/organizr/config:/config
- /etc/localtime:/etc/localtime:ro
labels:
- traefik.enable=true
- traefik.backend=organizr
- traefik.http.routers.organizr.rule=Host(`organizr.${DOMAIN}`)
- traefik.http.routers.organizr.tls.certresolver=ledns
- traefik.http.routers.organizr.middlewares=organizr@docker
- traefik.http.middlewares.organizr.ipwhitelist.sourcerange=127.0.0.1/32,172.16.0.0/12,192.168.1.0/24
2017-07-17 13:19:20 -04:00
unifi:
image: linuxserver/unifi
container_name: unifi
restart: always
environment:
2020-10-13 17:42:21 -04:00
PUID: 1000
PGID: 1000
2017-07-17 13:19:20 -04:00
volumes:
- "/mnt/data/docker/unifi/config:/config"
ports:
2020-10-13 17:42:21 -04:00
- "8080:8080"
2017-07-17 13:19:20 -04:00
- "8081:8081"
- "8443:8443"
- "8843:8843"
- "8880:8880"
2020-10-13 17:42:21 -04:00
- "6789:6789"
2018-02-28 11:32:23 -05:00
- "3478:3478/udp"
- "10001:10001/udp"
2017-07-05 21:03:25 -04:00
plex:
image: linuxserver/plex
container_name: plex
network_mode: host
restart: always
environment:
VERSION: latest
2020-10-13 17:42:21 -04:00
PUID: 1000
PGID: 1000
2017-07-05 21:03:25 -04:00
volumes:
- "/mnt/data/docker/plex/config:/config"
- "/mnt/media/series:/data/tvshows"
- "/mnt/media/movies:/data/movies"
- "/etc/localtime:/etc/localtime:ro"
plexpy:
2018-04-15 15:16:06 -04:00
image: linuxserver/tautulli
2017-07-05 21:03:25 -04:00
container_name: plexpy
restart: always
volumes:
- "/mnt/data/docker/plexpy/config:/config"
- "/mnt/data/docker/plex/config/Library/Application\ Support/Plex\ Media\ Server/Logs:/logs:ro"
- "/etc/localtime:/etc/localtime:ro"
environment:
2020-10-13 17:42:21 -04:00
PUID: 1000
PGID: 1000
2017-07-05 21:03:25 -04:00
ports:
2017-07-17 13:18:22 -04:00
- "9055:8181"
2020-10-13 18:17:54 -04:00
2017-07-05 21:03:25 -04:00
duckdns:
image: linuxserver/duckdns
container_name: duckdns
restart: always
environment:
2020-10-13 17:42:21 -04:00
PUID: 1000
PGID: 1000
2017-07-05 21:03:25 -04:00
env_file:
2020-10-13 18:17:54 -04:00
- duckdns.env
2017-07-05 21:03:25 -04:00
volumes:
2020-10-13 18:17:54 -04:00
- /etc/localtime:/etc/localtime:ro
2017-07-05 21:03:25 -04:00
mqtt:
2020-10-13 17:42:21 -04:00
image: eclipse-mosquitto
2017-07-05 21:03:25 -04:00
container_name: mqtt
restart: always
ports:
2020-10-13 18:17:54 -04:00
- 1883:1883