Adguard

---
services:
  adguard:
    container_name: adguard
    image: adguard/adguardhome
    restart: unless-stopped
    ports:
      - 53:53 # plain DNS
      - 80:80/tcp # http web server
      - 443:443 # htps web server
      - 3000:3000/tcp # web management
    volumes:
      - /var/lib/adguardhome/conf:/opt/adguardhome/conf
      - /var/lib/adguardhome/work:/opt/adguardhome/work
    networks:
      adguard:
        ipv4_address: 192.168.0.32

networks:
  adguard:
    name: adguard
    driver: macvlan
    driver_opts:
      parent: ens18
    ipam:
      config:
        - subnet: 192.168.0.0/24
          gateway: 192.168.0.1