version: "2.2" services: app: image: pathogen/monolith:latest container_name: monolith build: ${PORTAINER_GIT_DIR}/docker volumes: - ${PORTAINER_GIT_DIR}:/code env_file: - ../stack.env # volumes_from: # - tmp # depends_on: # broker: # condition: service_started # kafka: # condition: service_healthy # tmp: # condition: service_started # redis: # condition: service_healthy threshold: image: pathogen/threshold:latest container_name: threshold build: ./legacy/docker volumes: - ${PORTAINER_GIT_DIR}:/code - ${THRESHOLD_CONFIG_DIR}:/code/legacy/conf/live #- ${THRESHOLD_TEMPLATE_DIR}:/code/conf/templates - ${THRESHOLD_CERT_DIR}:/code/legacy/conf/cert ports: - "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}" - "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}" - "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}" env_file: - ../stack.env # for development extra_hosts: - "host.docker.internal:host-gateway" ssdb: image: tsl0922/ssdb container_name: ssdb_monolith volumes: - ssdb_data:/ssdb/var ports: - "1289:1289" environment: - SSDB_PORT=1289 networks: default: external: name: pathogen volumes: ssdb_data: {}