2021-12-16 21:12:38 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
tor-privoxy:
|
|
|
|
# https://hub.docker.com/r/dperson/torproxy
|
|
|
|
image: dperson/torproxy:latest
|
|
|
|
container_name: tor-privoxy
|
|
|
|
ports:
|
|
|
|
- "8118:8118/tcp"
|
|
|
|
- "9050:9050/tcp"
|
2021-12-17 00:11:32 +00:00
|
|
|
volumes:
|
|
|
|
- "./config/torrc:/etc/tor/torrc:ro"
|
2021-12-16 22:22:13 +00:00
|
|
|
env_file: .env
|
2021-12-16 21:12:38 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
|
|
|
max-file: "${LOG_MAX_FILE:-5}"
|