102 lines
2.2 KiB
YAML
102 lines
2.2 KiB
YAML
version: '3.6'
|
|
|
|
services:
|
|
dynomite1:
|
|
environment:
|
|
- DYNO_NODE=dynomite1:8101:rack-1:d4s:0
|
|
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
|
|
|
|
dynomite2:
|
|
environment:
|
|
- DYNO_NODE=dynomite2:8101:rack-1:d4s:2147483647
|
|
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
|
|
|
|
dynomite3:
|
|
environment:
|
|
- DYNO_NODE=dynomite3:8101:rack-3:d4s:0
|
|
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
|
|
|
|
dynomite4:
|
|
environment:
|
|
- DYNO_NODE=dynomite4:8101:rack-2:d4s:2147483647
|
|
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
|
|
|
|
networks:
|
|
conductor-network:
|
|
|
|
configs:
|
|
seeds.list:
|
|
file: ./seeds.list
|