Synology

From The Brain Rot MediaWiki
Jump to navigation Jump to search

Visual Editor

After installing MediaWiki the "Visual Editor" error, after a long debug and search just enable zlib.

VisualEditor-error.png
Zlib.png


Docker Pi-Hole

SSH NAS

	docker network create \
  --driver macvlan \
  --subnet=192.168.50.0/24 \
  --gateway=192.168.50.1  \
  --opt parent=ovs_eth2 vlan50

yaml

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
    external: true

Network

Pi-hole network .png