Added .env files to stacks

This commit is contained in:
2026-02-16 19:19:14 +01:00
parent 5e9f943996
commit 71a5db3b11
40 changed files with 211 additions and 89 deletions

6
tor-privoxy/.env Normal file
View File

@@ -0,0 +1,6 @@
# Environment variables for Tor and Privoxy configuration
# Ports
PORT_TOR_PROXY=9050
PORT_TOR_CONTROL=9051
PORT_PRIVOXY=8118

View File

@@ -8,14 +8,14 @@ services:
networks:
- tor-privoxy
ports:
- "9050:9050" # Tor proxy
- "9051:9051" # Tor control port
- "8118:8118" # Privoxy
- "${PORT_TOR_PROXY}:9050" # Tor proxy
- "${PORT_TOR_CONTROL}:9051" # Tor control port
- "${PORT_PRIVOXY}:8118" # Privoxy
deploy:
placement:
constraints:
- node.role == manager
pihole labels:
labels:
- homepage.group=Services
- homepage.name=Tor-Privoxy
#- homepage.icon=portainer.png