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

35 lines
591 B
YAML
Raw Normal View History

2019-12-26 18:22:11 +00:00
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
restart_policy:
condition: any
delay: 10s
update_config:
parallelism: 1
delay: 5s
order: start-first
placement:
constraints: [node.hostname == nbg-4]
2019-12-26 18:22:11 +00:00
ports:
- '9050:9050'
networks:
- backend