Network: Host on Synology - Docker compose

Hi, I try to run the latest Beta on my Synology NAS in Docker.

Bridged works fine, but I want to see the hostnames, so I need to switch to network mode host. Below is my docker-compose.yml file

# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:development-v6
    network_mode: "host"
    environment:
      # Set the appropriate timezone for your location (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g:
      TZ: 'Europe/Berlin'
      # Set a password to access the web interface. Not setting one will result in a random password being assigned
      FTLCONF_webserver_api_password: 'youshouldnotseeme'
      # Configure DNS upstream servers, e.g:
      FTLCONF_dns_upstreams: '9.9.9.9'
      WEB_PORT: '4443'
      ServerIP: '192.168.178.12'
    # Volumes store your data between container upgrades
    volumes:
      # For persisting Pi-hole's databases and common configuration file
      - './pihole-configs:/etc/pihole'
      # Uncomment the below if you have custom dnsmasq config files that you want to persist. Not needed for most.
      - './dnsmasq.d-configs:/etc/dnsmasq.d'
    restart: unless-stopped
    

DNS works fine, but I can't access the Web UI. Any idea what I'm missing ?

Arg, I was trying to find a solution the whole morning.

I just switched the port to 8443 and it started to work. Maybe there is already something running on 4443 and because of this it's blocked :S

These are not valid environment variables for V6, they won't be doing anything inside the container!

What you need is FTLCONF_webserver_port. Or you can set it in the web admin settings page, too.