|
|
| Line 26: |
Line 26: |
| '''<u>compose.yaml</u>''' | | '''<u>compose.yaml</u>''' |
|
| |
|
| <syntaxhighlight lang="yaml" line="1">
| |
| services:
| |
| pihole:
| |
| image: pihole/pihole:latest
| |
| container_name: pihole-macvlan
| |
| cap_add:
| |
| - CAP_NET_RAW
| |
| - CAP_NET_BIND_SERVICE
| |
| - CAP_CHOWN
| |
| environment:
| |
| - PIHOLE_UID=xxxx #CHANGE_TO_YOUR_UID
| |
| - PIHOLE_GID=xxxx #CHANGE_TO_YOUR_GID
| |
| - TZ=Europe/Amsterdam #CHANGE_TO_YOUR_TZ
| |
| - WEBPASSWORD=xxxx #CHANGE_TO_YOUR_Password
| |
| - DNSMASQ_LISTENING=local
| |
| - WEB_PORT=8000
| |
| - DNSMASQ_USER=pihole
| |
| - FTLCONF_LOCAL_IPV4=xxx.xxx.xxx.xxx #CHANGE_TO_YOUR_IP
| |
| volumes:
| |
| - /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d
| |
| - /volume1/docker/pihole/pihole:/etc/pihole
| |
| networks:
| |
| vlan50: #CHANGE_TO_YOUR_NetworkName
| |
| ipv4_address: xxx.xxx.xxx.xxx #CHANGE_TO_YOUR_IP
| |
| restart: always
| |
|
| |
|
| networks:
| | |
| vlan50:
| | |
| name: "XXXX" #CHANGE_TO_YOUR_Name_Line_22
| | <u>Network for container:</u> |
| external: true
| | [[File:Pi-hole network .png|border|left|thumb]] |
| </syntaxhighlight> | |
Revision as of 10:50, 30 December 2024
Visual Editor
After installing MediaWiki the "Visual Editor" error, after a long debug and search just enable zlib.
Docker Pi-Hole
SSH NAS
docker network create \
--driver macvlan \
--subnet=192.168.50.0/24 \
--gateway=192.168.50.254 \
--opt parent=ovs_eth2 vlan50
compose.yaml
Network for container:
