2021-05-19 17:02:57 +02:00
|
|
|
version: '3.6'
|
|
|
|
|
|
|
|
services:
|
|
|
|
base:
|
|
|
|
environment:
|
2021-06-01 10:15:08 +02:00
|
|
|
CONDUCTOR_SERVER: http://conductor-server-local:8080/api/
|
|
|
|
CONDUCTOR_HEALTH: http://conductor-server-local:8080/health
|
2021-05-19 17:02:57 +02:00
|
|
|
configs:
|
|
|
|
- source: base-config
|
|
|
|
target: /app/config.cfg
|
|
|
|
image: 'nubisware/nubisware-conductor-worker-py-base'
|
|
|
|
networks:
|
|
|
|
- conductor-network
|
|
|
|
deploy:
|
|
|
|
mode: replicated
|
|
|
|
replicas: 2
|
|
|
|
restart_policy:
|
|
|
|
condition: on-failure
|
|
|
|
delay: 5s
|
|
|
|
window: 120s
|
|
|
|
logging:
|
|
|
|
driver: "journald"
|
|
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
conductor-network:
|
|
|
|
|
|
|
|
configs:
|
|
|
|
base-config:
|
|
|
|
file: base-config.cfg
|