обьединение конфигов

This commit is contained in:
2026-05-08 01:17:22 +05:00
parent cd1c576eec
commit 504245fead
2 changed files with 21 additions and 29 deletions
+21 -8
View File
@@ -12,14 +12,27 @@ services:
environment:
TZ: 'Asia/Yekaterinburg'
# Uncomment this if you want to change the location of
# the SQLite DB file within the container
# DB_SQLITE_FILE: "/data/database.sqlite"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- '53:53/tcp'
- '53:53/udp'
- '82:80/tcp'
- '4443:443/tcp'
environment:
TZ: 'Asia/Yekaterinburg'
FTLCONF_webserver_api_password: 'trpcar'
FTLCONF_misc_check_load: false
FTLCONF_dns_listeningMode: 'ALL'
volumes:
- './etc-pihole:/etc/pihole'
cap_add:
- NET_ADMIN
- SYS_TIME
- SYS_NICE
restart: unless-stopped
-21
View File
@@ -1,21 +0,0 @@
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- '53:53/tcp'
- '53:53/udp'
- '82:80/tcp'
- '4443:443/tcp'
environment:
TZ: 'Asia/Yekaterinburg'
FTLCONF_webserver_api_password: 'trpcar'
FTLCONF_misc_check_load: false
FTLCONF_dns_listeningMode: 'ALL'
volumes:
- './etc-pihole:/etc/pihole'
cap_add:
- NET_ADMIN
- SYS_TIME
- SYS_NICE
restart: unless-stopped