35 lines
702 B
YAML
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"
|