version: "3.8"


services:
  npm:
    image: jc21/nginx-proxy-manager:latest
    dns:
      - 1.1.1.1
      - 8.8.8.8
    container_name: npm
    restart: unless-stopped
    networks:
      shared_proxy_net:
        ipv4_address: 172.18.0.8  # Hiermee "reserveer" je het huidige adres
    ports:
      - "8080:80"
      - "81:81"
      - "8443:443"
    volumes:
      - /volume1/docker/npm/data:/data
      - /volume1/docker/npm/letsencrypt:/etc/letsencrypt


networks:
  shared_proxy_net:
    external: true