update lables and add automation for dns / proxy

This commit is contained in:
2026-04-28 02:25:52 +00:00
parent 833807159c
commit e8312fc0d9
6 changed files with 53 additions and 7 deletions

View File

@@ -25,5 +25,18 @@ services:
- '${NICOTINE_PORT}'
- '${NICOTINE_INCOMMING}'
restart: unless-stopped
labels:
# Nicotine Automation
- "npm.proxy.domains=nicotine"
- "npm.proxy.port=${NICOTINE_EXTERNAL_PORT}"
- "npm.proxy.scheme=http"
- "npm.proxy.websockets=true"
- "pihole.custom-record=[[\"nicotine\", \"${DOCKER_HOST_IP}\"]]"
# Torrent Automation
- "npm.proxy.1.domains=torrent"
- "npm.proxy.1.port=${TORRENT_EXTERNAL_PORT}"
- "npm.proxy.1.scheme=http"
- "npm.proxy.1.websockets=true"
- "pihole.custom-record.1=[[\"torrent\", \"${DOCKER_HOST_IP}\"]]"
# for external containers use `network_mode: "container:gluetun"`