services: nginx-proxy-manager: image: 'jc21/nginx-proxy-manager:latest' container_name: npm_proxy restart: unless-stopped ports: # These ports are in format : - '0.0.0.0:80:80' # Public HTTP Port - '0.0.0.0:443:443' # Public HTTPS Port # - '81:81' # Admin Web Port # Add any other Stream port you want to expose # - '21:21' # FTP # Uncomment the next line if you uncomment anything in the section environment: # Uncomment this if you want to change the location of # the SQLite DB file within the container # DB_SQLITE_FILE: "/data/database.sqlite" # Uncomment this if IPv6 is not enabled on your host DISABLE_IPV6: 'true' volumes: - /srv/appdata/npm/data:/data - /srv/appdata/npm/letsencrypt:/etc/letsencrypt networks: npm_proxy: ipv4_address: 192.168.96.10 networks: npm_proxy: name: npm_proxy driver: bridge ipam: config: - subnet: 192.168.96.0/21 driver_opts: com.docker.network.driver.mtu: 1420