This repository has been archived on 2020-05-25. You can view files and clone it, but cannot push or open issues or pull requests.
tor-docker/tor.yml

40 lines
691 B
YAML

version: '3.7'
x-logging: &json-log
driver: 'json-file'
options:
max-size: 20m
max-file: '5'
networks:
backend:
driver: overlay
attachable: true
driver_opts:
encrypted: "true"
services:
server:
image: localhost:5000/tor
logging: *json-log
deploy:
replicas: 1
resources:
limits:
cpus: '0.2'
memory: '100M'
restart_policy:
condition: any
delay: 10s
update_config:
parallelism: 1
delay: 5s
order: start-first
placement:
constraints: [node.hostname == nbg-4]
ports:
- '9050:9050'
- '7050:7050'
networks:
- backend