From 504245feadffd6d8f5e9b06253d75ec435114c10 Mon Sep 17 00:00:00 2001 From: caretaker Date: Fri, 8 May 2026 01:17:22 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B1=D1=8C=D0=B5=D0=B4=D0=B8=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npm.yml | 29 +++++++++++++++++++++-------- pihole.yml | 21 --------------------- 2 files changed, 21 insertions(+), 29 deletions(-) delete mode 100644 pihole.yml diff --git a/npm.yml b/npm.yml index a353f3a..5e0e833 100644 --- a/npm.yml +++ b/npm.yml @@ -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 diff --git a/pihole.yml b/pihole.yml deleted file mode 100644 index 3327cd0..0000000 --- a/pihole.yml +++ /dev/null @@ -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 \ No newline at end of file