31 lines
627 B
YAML
31 lines
627 B
YAML
version: '3.6'
|
|
|
|
services:
|
|
base:
|
|
environment:
|
|
CONDUCTOR_SERVER: http://conductor-server-local:8080/api/
|
|
CONDUCTOR_HEALTH: http://conductor-server-local:8080/health
|
|
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
|