version: "3.9" volumes: pihole_config_etc: pihole_config_dnsmasq: heimdall_config: git_data: postgres_data: services: 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 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 postgres: image: postgres:14 ports: - "5432" volumes: - postgres_data:/var/lib/postgresql/data environment: - POSTGRES_PASSWORD=nextcloud - POSTGRES_USER=nextcloud - POSTGRES_DB=nextcloud