195 lines
5.8 KiB
YAML
Executable File
195 lines
5.8 KiB
YAML
Executable File
version: "3.7"
|
|
|
|
services:
|
|
|
|
###########################################################################
|
|
###########################################################################
|
|
##
|
|
## Docker Compose File: Primary Services
|
|
## Function: Run Primary Services before starting other services
|
|
##
|
|
###########################################################################
|
|
###########################################################################
|
|
|
|
hddtemp2:
|
|
image: drewster727/hddtemp-docker
|
|
container_name: HDDTemp
|
|
network_mode: host
|
|
privileged: true
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
|
- /dev:/dev:rw
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOST_OS=Unraid
|
|
- HOST_HOSTNAME=Gringotts
|
|
- HOST_CONTAINERNAME=HDDTemp
|
|
- HDDTEMP_ARGS=-q -d -F /dev/sd*
|
|
labels:
|
|
- net.unraid.docker.managed=dockerman
|
|
- net.unraid.docker.icon='https://github.com/atribe/unRAID-docker/raw/master/icons/hddtemp.png'
|
|
|
|
telegraf2:
|
|
image: telegraf:latest
|
|
container_name: telegraf
|
|
network_mode: host
|
|
privileged: true
|
|
restart: unless-stopped
|
|
user: telegraf:281
|
|
volumes:
|
|
- /var/run/utmp:/var/run/utmp:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /:/rootfs:ro
|
|
- /sys:/rootfs/sys:ro
|
|
- /etc:/rootfs/etc:ro
|
|
- /proc:/rootfs/proc:ro
|
|
- /mnt/user/appdata/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:rw
|
|
- /run/udev:/run/udev:ro
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOST_OS=Unraid
|
|
- HOST_HOSTNAME=Gringotts
|
|
- HOST_CONTAINERNAME=telegraf
|
|
- HOST_PROC=/rootfs/proc
|
|
- HOST_SYS=/rootfs/sys
|
|
- HOST_ETC=/rootfs/etc
|
|
- HOST_MOUNT_PREFIX=/rootfs
|
|
labels:
|
|
- net.unraid.docker.managed=dockerman
|
|
- net.unraid.docker.icon='https://github.com/atribe/unRAID-docker/raw/master/icons/telegraf.png'
|
|
depends_on:
|
|
hddtemp2:
|
|
condition: service_started
|
|
restart: true
|
|
|
|
authelia:
|
|
image: authelia/authelia
|
|
container_name: Authelia
|
|
network_mode: bridge
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /mnt/user/appdata/Authelia:/config:rw
|
|
ports:
|
|
- 9091:9091/tcp
|
|
environment:
|
|
- PUID=99
|
|
- PGID=100
|
|
- TZ=America/New_York
|
|
- HOST_OS=Unraid
|
|
- HOST_HOSTNAME=Gringotts
|
|
- HOST_CONTAINERNAME=Authelia
|
|
labels:
|
|
- net.unraid.docker.managed=dockerman
|
|
- net.unraid.docker.webui='http://[IP]:[PORT:9091]/'
|
|
- net.unraid.docker.icon='https://raw.githubusercontent.com/ibracorp/app-logos/main/authelia/authelia.png'
|
|
healthcheck:
|
|
disable: false
|
|
interval: 30s
|
|
timeout: 30s
|
|
retries: 5
|
|
depends_on:
|
|
mariadb:
|
|
condition: service_healthy
|
|
restart: true
|
|
|
|
scrutiny2:
|
|
image: ghcr.io/analogj/scrutiny:master-omnibus
|
|
container_name: scrutiny
|
|
network_mode: bridge
|
|
privileged: true
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /run/udev:/run/udev:ro
|
|
- /dev/disk:/dev/disk:ro
|
|
- /mnt/user/appdata/scrutiny/config:/opt/scrutiny/config:rw
|
|
- /mnt/user/appdata/scrutiny/db:/opt/scrutiny/influxdb:rw
|
|
ports:
|
|
- 8080:8080/tcp
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOST_OS=Unraid
|
|
- HOST_HOSTNAME=Gringotts
|
|
- HOST_CONTAINERNAME=scrutiny
|
|
labels:
|
|
- net.unraid.docker.managed=dockerman
|
|
- net.unraid.docker.webui='http://[IP]:[PORT:8080]'
|
|
- net.unraid.docker.icon='https://raw.githubusercontent.com/selfhosters/unRAID-CA-templates/master/templates/img/scrutiny.png'
|
|
|
|
pihole2:
|
|
image: pihole/pihole:latest
|
|
container_name: pihole
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /mnt/user/appdata/pihole/pihole/:/etc/pihole/:rw
|
|
- /mnt/user/appdata/pihole/dnsmasq.d/:/etc/dnsmasq.d/:rw
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOST_OS=Unraid
|
|
- HOST_HOSTNAME=Gringotts
|
|
- HOST_CONTAINERNAME=pihole
|
|
- TCP_PORT_53=53
|
|
- UDP_PORT_53=53
|
|
- UDP_PORT_67=67
|
|
- TCP_PORT_80=80
|
|
- TCP_PORT_443=443
|
|
- PIHOLE_DNS_=8.8.8.8;8.8.4.4
|
|
- WEBPASSWORD=freemind596
|
|
- INTERFACE=eth0
|
|
- ServerIP=192.168.1.7
|
|
- ServerIPv6=
|
|
- IPv6=False
|
|
- DNSMASQ_LISTENING=all
|
|
- WEBUIBOXEDLAYOUT=boxed
|
|
labels:
|
|
- net.unraid.docker.managed=dockerman
|
|
- net.unraid.docker.webui='http://[IP]:[PORT:80]/admin'
|
|
- net.unraid.docker.icon='https://i.imgur.com/OWkNcEn.png'
|
|
cap_add:
|
|
- NET_ADMIN
|
|
depends_on:
|
|
authelia:
|
|
condition: service_healthy
|
|
restart: true
|
|
networks:
|
|
eth0:
|
|
ipv4_address: 192.168.1.7
|
|
|
|
pihole-sync2:
|
|
image: shirom/pihole-sync:latest
|
|
container_name: Pihole-Sync-receiver
|
|
network_mode: bridge
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /mnt/user/appdata/pihole-sync/root/:/root:rw
|
|
- /mnt/user/appdata/pihole-sync/etc-ssh:/etc/ssh:rw
|
|
- /mnt/user/appdata/pihole/pihole/:/mnt/etc-pihole:rw
|
|
- /mnt/user/appdata/pihole/dnsmasq.d/:/mnt/etc-dnsmasq.d:rw
|
|
ports:
|
|
- 22222:22/tcp
|
|
environment:
|
|
- TZ=America/New_York
|
|
- HOST_OS=Unraid
|
|
- HOST_HOSTNAME=Gringotts
|
|
- HOST_CONTAINERNAME=Pihole-Sync-receiver
|
|
- NODE=receiver
|
|
labels:
|
|
- net.unraid.docker.managed=dockerman
|
|
- net.unraid.docker.icon='https://raw.githubusercontent.com/devzwf/unraid-docker-templates/main/images/pihole-logo-bw.png'
|
|
depends_on:
|
|
authelia:
|
|
condition: service_healthy
|
|
restart: true
|
|
pihole2:
|
|
condition: service_healthy
|
|
restart: true
|
|
|
|
include:
|
|
- ./ARR_Stack/ARR_stack.yaml
|
|
- ./deps/dependancy.yaml
|
|
- ./secondary/secondary.yaml
|
|
|
|
networks:
|
|
eth0:
|
|
external: true
|
|
name: eth0 |