23 lines
521 B
Plaintext
23 lines
521 B
Plaintext
|
dynomite1:
|
||
|
environment:
|
||
|
- DYNO_NODE={{ node_seed }}
|
||
|
image: nubisware/autodynomite:latest
|
||
|
networks:
|
||
|
{{ conductor-network }}:
|
||
|
logging:
|
||
|
driver: "journald"
|
||
|
deploy:
|
||
|
mode: replicated
|
||
|
replicas: 1
|
||
|
endpoint_mode: dnsrr
|
||
|
placement:
|
||
|
constraints: [node.role == worker]
|
||
|
restart_policy:
|
||
|
condition: on-failure
|
||
|
delay: 5s
|
||
|
max_attempts: 3
|
||
|
window: 120s
|
||
|
configs:
|
||
|
- source: seeds.list
|
||
|
target: /dynomite/seeds.list
|