mirror of
				https://gitlab.sectorq.eu/home/docker-compose.git
				synced 2025-10-31 02:21:10 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			YAML
		
	
	
		
			Executable File
		
	
	
	
	
| networks:
 | |
|   pihole:
 | |
|     driver: bridge
 | |
|     ipam:
 | |
|       config:
 | |
|       - subnet: 192.168.78.0/24
 | |
|       driver: default
 | |
| services:
 | |
|   orbital-sync:
 | |
|     environment:
 | |
|       INTERVAL_MINUTES: 60
 | |
|       PRIMARY_HOST_BASE_URL: https://m-server.home.lan:9343/
 | |
|       PRIMARY_HOST_PASSWORD: ${PASSWORD}
 | |
|       SECONDARY_HOSTS_1_BASE_URL: http://192.168.77.106:9380
 | |
|       SECONDARY_HOSTS_1_PASSWORD: ${PASSWORD}
 | |
|       SECONDARY_HOSTS_1_PATH: /admin
 | |
|       SECONDARY_HOSTS_2_BASE_URL: http://192.168.77.238:9380
 | |
|       SECONDARY_HOSTS_2_PASSWORD: ${PASSWORD}
 | |
|     image: mattwebbio/orbital-sync:1
 | |
|     labels:
 | |
|       wud.watch: true
 | |
|       wud.watch.digest: true
 | |
|   pihole:
 | |
|     cap_add:
 | |
|     - NET_ADMIN
 | |
|     - SYS_TIME
 | |
|     - SYS_NICE
 | |
|     container_name: pihole
 | |
|     environment:
 | |
|       FTLCONF_dns_listeningMode: all
 | |
|       FTLCONF_dns_upstreams: 8.8.8.8;8.8.4.4
 | |
|       FTLCONF_webserver_api_password: ${PASSWORD}
 | |
|       TZ: Europe/Bratislava
 | |
|     hostname: m-server
 | |
|     image: pihole/pihole:latest
 | |
|     labels:
 | |
|       com.centurylinklabs.watchtower.enable: 'true'
 | |
|       homepage.container: pihole
 | |
|       homepage.description: Add blocker
 | |
|       homepage.group: Infrastructure
 | |
|       homepage.href: https://active.home.lan:9343/admin
 | |
|       homepage.icon: /images/pihole.png
 | |
|       homepage.name: Pihole
 | |
|       homepage.server: my-docker
 | |
|       homepage.weight: '1'
 | |
|       homepage.widget.key: ${PASSWORD}
 | |
|       homepage.widget.type: pihole
 | |
|       homepage.widget.url: https://active.home.lan:9343
 | |
|       homepage.widget.version: '6'
 | |
|       wud.watch: true
 | |
|       wud.watch.digest: true
 | |
|     networks:
 | |
|       pihole:
 | |
|         ipv4_address: 192.168.78.254
 | |
|     ports:
 | |
|     - 53:53/tcp
 | |
|     - 53:53/udp
 | |
|     - 9380:80/tcp
 | |
|     - 9343:443/tcp
 | |
|     restart: unless-stopped
 | |
|     volumes:
 | |
|     - /share/docker_data/pihole/etc-pihole:/etc/pihole
 | |
|     - /share/docker_data/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
 |