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

38 lines
743 B
YAML
Raw Normal View History

2019-08-07 14:31:22 +00:00
version: '3.7'
x-logging: &json-log
driver: 'json-file'
options:
max-size: 20m
max-file: '5'
networks:
tor_backend:
external: true
2019-08-07 14:31:22 +00:00
services:
server:
image: localhost:5000/zeronet
command: ["zeronet.py", "--tor", "always", "--tor-proxy", "tor_server:9050", "--ui-ip", "*"]
deploy:
replicas: 1
resources:
limits:
memory: '500M'
restart_policy:
condition: any
update_config:
parallelism: 1
delay: 5s
order: start-first
failure_action: rollback
placement:
constraints: [node.hostname == fra-n4]
2019-08-07 14:31:22 +00:00
logging: *json-log
networks:
- tor_backend
2019-08-07 14:31:22 +00:00
ports:
- '43110:43110'
tmpfs:
- '/app/data'