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

35 lines
566 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'
x-singlen0-start: &s0s
replicas: 1
restart_policy:
condition: any
update_config:
parallelism: 1
delay: 5s
order: start-first
failure_action: rollback
placement:
constraints: [node.hostname == fra-n0]
volumes:
data:
services:
server:
image: localhost:5000/zeronet
deploy: *s0s
logging: *json-log
environment:
ENABLE_TOR: 'true'
ports:
- '43110:43110'
volumes:
- 'data:/root/data'