Added .env files to stacks
This commit is contained in:
6
tor-privoxy/.env
Normal file
6
tor-privoxy/.env
Normal file
@@ -0,0 +1,6 @@
|
||||
# Environment variables for Tor and Privoxy configuration
|
||||
|
||||
# Ports
|
||||
PORT_TOR_PROXY=9050
|
||||
PORT_TOR_CONTROL=9051
|
||||
PORT_PRIVOXY=8118
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user