Initial commit
This commit is contained in:
commit
af956abdc3
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.*~
|
||||
certificates/
|
34
zeronet.yml
Normal file
34
zeronet.yml
Normal file
@ -0,0 +1,34 @@
|
||||
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'
|
Reference in New Issue
Block a user