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

21 lines
547 B
YAML
Raw Normal View History

2021-12-16 21:12:38 +00:00
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
2021-12-16 21:12:38 +00:00
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}"