version: '3.4' networks: cnc: external: false services: postgres: image: postgres:12 restart: always environment: - POSTGRES_USER=cnc-service - POSTGRES_PASSWORD=cnc-service-supersecret - POSTGRES_DB=cnc-service networks: - cnc activemq: image: registry.kmlabz.com/birbnetes/activemq-artemis restart: always networks: - cnc cnc-service: image: registry.kmlabz.com/birbnetes/activemq-artemis restart: always depends_on: - activemq - postgres environment: SENTRY_DSN: https://8774ab5831814316a6aa33d07f94281c@sentry.kmlabz.com/8 RELEASE_ID: compose CNC_SERVICE_RELEASEMODE: dev CNC_POSTGRES_HOSTNAME: postgres CNC_POSTGRES_USERNAME: cnc-service CNC_POSTGRES_PASSWORD: cnc-service-supersecret CNC_POSTGRES_DB: cnc-service CNC_MQTT_HOSTNAME: activemq CNC_MQTT_PORT: "1883" CNC_MQTT_USERNAME: artemis CNC_MQTT_PASSWORD: artemis CNC_MQTT_STATUS_TOPIC: status CNC_MQTT_COMMAND_TOPIC: command networks: - cnc ports: - "127.0.0.1:8080:8080"