| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- version: "3.9"
- volumes:
- pihole_config_etc:
- pihole_config_dnsmasq:
- heimdall_config:
- git_data:
- postgres_data:
- services:
- traefik:
- image: traefik:v2.9
- command: --api.insecure=true
- ports:
- - "10.10.20.251:80:80/tcp"
- - "10.10.20.251:443:443/tcp"
- - "10.10.20.254:8080:8080/tcp"
- volumes:
- # So that Traefik can listen to the Docker events
- - /var/run/docker.sock:/var/run/docker.sock
- - ./traefik:/etc/traefik/
- heimdall:
- environment:
- - PGID=1000
- - PUID=1000
- image: ghcr.io/linuxserver/heimdall
- ports:
- - "10.10.20.254:80:80/tcp"
- restart: unless-stopped
- volumes:
- - heimdall_config:/config:rw
- - /etc/timezone:/etc/timezone:ro
- - /etc/localtime:/etc/localtime:ro
- pihole:
- dns:
- - 202.142.142.142
- - 202.142.142.242
- environment:
- - PUID=1000
- - CONDITIONAL_FORWARDING_IP=10.10.20.1
- - CONDITIONAL_FORWARDING_DOMAIN=playne.id.au
- - DNS2=202.142.142.242
- - ServerIP=10.10.20.253
- - CONDITIONAL_FORWARDING=True
- - DNS1=202.142.142.142
- - PGID=1000
- - DNS_IPv6=2403:5800:c100:7802::feed
- - DNS_IP=10.10.20.253
- - IPv6=True
- image: pihole/pihole:latest
- ports:
- - "10.10.20.253:443:443/tcp"
- - "10.10.20.253:53:53/tcp"
- - "10.10.20.253:53:53/udp"
- - "10.10.20.253:80:80/tcp"
- restart: unless-stopped
- volumes:
- - /etc/timezone:/etc/timezone:ro
- - /etc/localtime:/etc/localtime:ro
- - pihole_config_etc:/etc/pihole:rw
- - pihole_config_dnsmasq:/etc/dnsmasq.d:rw
- git:
- image: gogs/gogs
- ports:
- - "10022:22"
- - "3000:3000"
- volumes:
- - git_data:/data
- labels:
- - traefik.http.routers.git.rule=Host(`git.playne.au`)
- - traefik.http.routers.git.tls=true
- - traefik.http.routers.git.tls.certresolver=le
- nextcloud:
- image: nextcloud
- restart: unless-stopped
- ports:
- - "10.10.20.252:80:80/tcp"
- volumes:
- - /mnt/documents/files/cloud/:/var/www/html
- environment:
- - POSTGRES_DB=nextcloud
- - POSTGRES_USER=nextcloud
- - POSTGRES_PASSWORD=nextcloud
- - POSTGRES_HOST=postgres
- depends_on:
- - postgres
- labels:
- - traefik.http.routers.nextcloud.rule=Host(`cloud.playne.au`)
- - traefik.http.routers.nextcloud.tls=true
- - traefik.http.routers.nextcloud.tls.certresolver=le
- postgres:
- image: postgres:14
- ports:
- - "5432"
- volumes:
- - postgres_data:/var/lib/postgresql/data
- environment:
- - POSTGRES_PASSWORD=nextcloud
- - POSTGRES_USER=nextcloud
- - POSTGRES_DB=nextcloud
|