2020-04-05 11:14:02 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
2020-04-06 01:05:53 +02:00
|
|
|
output-service-postgres:
|
2020-04-05 11:14:02 +02:00
|
|
|
image: "postgres:12"
|
|
|
|
restart: "always"
|
|
|
|
volumes:
|
|
|
|
- "ktor-data:/var/lib/postgresql/data"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:54321:5432"
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "output-service-rdb"
|
|
|
|
POSTGRES_PASSWORD: "output-service-rdb"
|
|
|
|
POSTGRES_DB: "output-service-rdb"
|
|
|
|
|
2020-04-06 01:05:53 +02:00
|
|
|
output-service-rdb:
|
|
|
|
image: "registry.kmlabz.com/tormakris/output-service-rdb"
|
|
|
|
restart: "always"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:8080"
|
|
|
|
environment:
|
|
|
|
DB_USER: "output-service-rdb"
|
|
|
|
DB_PASSWORD: "output-service-rdb"
|
|
|
|
POSTGRES_DB: "output-service-rdb"
|
|
|
|
DB_URL: "jdbc:postgresql://output-service-postgres:5432/output-service-rdb"
|
|
|
|
MQ_HOST: rabbitmq
|
2020-04-06 01:43:43 +02:00
|
|
|
MQ_USERNAME: rabbitmq
|
2020-04-06 01:05:53 +02:00
|
|
|
MQ_PASSWORD: rabbitmq
|
2020-04-06 01:17:15 +02:00
|
|
|
depends_on:
|
|
|
|
- rabbitmq
|
|
|
|
- output-service-postgres
|
2020-04-06 01:05:53 +02:00
|
|
|
|
|
|
|
rabbitmq:
|
|
|
|
image: "rabbitmq:3-management"
|
|
|
|
hostname: "rabbitmq"
|
|
|
|
environment:
|
|
|
|
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
|
|
|
|
RABBITMQ_DEFAULT_USER: "rabbitmq"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "rabbitmq"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "/"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:15672:15672"
|
|
|
|
- "127.0.0.1:5672:5672"
|
|
|
|
|
2020-04-05 11:14:02 +02:00
|
|
|
volumes:
|
|
|
|
ktor-data:
|