version: '3.6' services: postgres: image: postgres:14 environment: - POSTGRES_USER=conductor - POSTGRES_PASSWORD=conductor networks: - conductor-network ports: - "5432:5432" healthcheck: test: timeout 5 bash -c 'cat < /dev/null > /dev/tcp/localhost/5432' interval: 5s timeout: 5s retries: 12 deploy: mode: replicated replicas: 1 restart_policy: condition: any delay: 5s window: 120s logging: driver: "journald" es: image: elasticsearch:7.6.2 environment: - "ES_JAVA_OPTS=-Xms512m -Xmx1024m" - transport.host=0.0.0.0 - discovery.type=single-node - xpack.security.enabled=false networks: - conductor-network ports: - "9200:9200" healthcheck: test: timeout 5 bash -c 'cat < /dev/null > /dev/tcp/localhost/9300' interval: 5s timeout: 5s retries: 12 deploy: mode: replicated replicas: 1 restart_policy: condition: any delay: 5s window: 120s logging: driver: "journald" conductor-server: image: "nubisware/conductor-server:3.13.6-dev" networks: - conductor-network deploy: mode: replicated replicas: 1 restart_policy: condition: any delay: 5s window: 120s logging: driver: "journald" pep: image: "nubisware/conductor-frontend:3.13.6-dev" networks: - conductor-network ports: - "80:80" deploy: mode: replicated replicas: 1 restart_policy: condition: any delay: 5s window: 120s environment: pep_credentials: ${pep_credentials} workers: environment: CONDUCTOR_SERVER: http://conductor-server:8080/api/ CONDUCTOR_HEALTH: http://conductor-server:8080/health worker_plugins: "Shell Eval Mail HttpBridge" smtp_pass: ${smtp_pass} image: 'nubisware/nubisware-conductor-worker-py-d4s:dev' networks: - conductor-network deploy: mode: replicated replicas: 2 restart_policy: condition: any delay: 5s window: 120s logging: driver: "journald" pyrestworkers: environment: CONDUCTOR_SERVER: http://conductor-server:8080/api/ CONDUCTOR_HEALTH: http://conductor-server:8080/health worker_plugins: Http image: 'nubisware/nubisware-conductor-worker-py-d4s:dev' networks: - conductor-network deploy: mode: replicated replicas: 2 restart_policy: condition: any delay: 5s window: 120s logging: driver: "journald" networks: conductor-network: