cnc-service/docker-compose.yml

35 lines
702 B
YAML
Raw Normal View History

2020-07-17 16:31:49 +02:00
networks:
cnc:
external: false
services:
postgres:
image: postgres:12
restart: always
environment:
- POSTGRES_USER=cnc-service
- POSTGRES_PASSWORD=cnc-service
- 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
networks:
- cnc
ports:
- "127.0.0.1:8080:8080"