docker-stacks/tor-privoxy/docker-compose.yml

21 lines
547 B
YAML

version: '3.7'
services:
tor-privoxy:
# https://hub.docker.com/r/dperson/torproxy
# Temporary using my own image with obfs4 support until it hits upstream
image: registry.gitlab.com/skobkin/torproxy-obfs4
container_name: tor-privoxy
ports:
- "8118:8118/tcp"
- "9050:9050/tcp"
volumes:
- "./config/torrc:/etc/tor/torrc:ro"
env_file: .env
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"