обьединение конфигов
This commit is contained in:
@@ -12,14 +12,27 @@ services:
|
|||||||
|
|
||||||
environment:
|
environment:
|
||||||
TZ: 'Asia/Yekaterinburg'
|
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:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ./letsencrypt:/etc/letsencrypt
|
- ./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
@@ -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
|
|
||||||
Reference in New Issue
Block a user