cnc-service/docker-compose.yml
Torma Kristóf e17cff4d07
All checks were successful
continuous-integration/drone/push Build is passing
create project structure
2020-07-17 16:31:49 +02:00

35 lines
702 B
YAML

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"