cnc-service/docker-compose.yml

51 lines
1.2 KiB
YAML
Raw Normal View History

2020-08-06 20:33:06 +02:00
version: '3.4'
2020-07-17 16:31:49 +02:00
networks:
cnc:
external: false
services:
postgres:
image: postgres:12
restart: always
environment:
- POSTGRES_USER=cnc-service
2020-08-06 20:33:06 +02:00
- POSTGRES_PASSWORD=cnc-service-supersecret
2020-07-17 16:31:49 +02:00
- POSTGRES_DB=cnc-service
networks:
- cnc
volumes:
- ./postres-volume:/var/lib/postgresql/data
activemq:
image: registry.kmlabz.com/birbnetes/activemq-artemis
restart: always
networks:
- cnc
volumes:
- ./artemis-volume:/var/lib/artemis-instance
cnc-service:
image: registry.kmlabz.com/birbnetes/activemq-artemis
restart: always
depends_on:
- activemq
- postgres
2020-08-06 20:33:06 +02:00
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
2020-07-17 16:31:49 +02:00
networks:
- cnc
ports:
- "127.0.0.1:8080:8080"