Move to node4 and include deployment into service

This commit is contained in:
caskd 2019-08-08 12:34:29 +02:00
parent af956abdc3
commit 5a08cbc89f
No known key found for this signature in database
GPG Key ID: 4D0C454CCA5DF3B6
1 changed files with 11 additions and 13 deletions

View File

@ -6,25 +6,23 @@ x-logging: &json-log
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
deploy:
replicas: 1
restart_policy:
condition: any
update_config:
parallelism: 1
delay: 5s
order: start-first
failure_action: rollback
placement:
constraints: [node.hostname == fra-n4]
logging: *json-log
environment:
ENABLE_TOR: 'true'