2020-05-20 22:25:28 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
input-service-postgres:
|
|
|
|
image: "postgres:12"
|
|
|
|
restart: "always"
|
|
|
|
volumes:
|
2020-05-22 01:12:14 +02:00
|
|
|
- "input-ktor-data:/var/lib/postgresql/data"
|
2020-05-20 22:25:28 +02:00
|
|
|
ports:
|
2020-05-22 01:47:51 +02:00
|
|
|
- "127.0.0.1:5432:5432"
|
2020-05-20 22:25:28 +02:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "input-service"
|
|
|
|
POSTGRES_PASSWORD: "input-service"
|
|
|
|
POSTGRES_DB: "input-service"
|
|
|
|
|
|
|
|
input-service:
|
|
|
|
image: "registry.kmlabz.com/tormakris/input-service"
|
|
|
|
restart: "always"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:8080"
|
|
|
|
environment:
|
|
|
|
DB_USER: "input-service"
|
|
|
|
DB_PASSWORD: "input-service"
|
|
|
|
DB_URL: "jdbc:postgresql://input-service-postgres:5432/input-service"
|
|
|
|
MQ_HOST: rabbitmq
|
|
|
|
MQ_USERNAME: rabbitmq
|
|
|
|
MQ_PASSWORD: rabbitmq
|
|
|
|
depends_on:
|
|
|
|
- rabbitmq
|
2020-05-21 23:28:57 +02:00
|
|
|
- input-service-postgres
|
2020-05-20 22:25:28 +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:
|
2020-05-22 01:12:14 +02:00
|
|
|
- "127.0.0.1:15672:15672"
|
2020-05-22 01:47:51 +02:00
|
|
|
- "127.0.0.1:5672:5672"
|
2020-05-20 22:25:28 +02:00
|
|
|
|
|
|
|
volumes:
|
2020-05-22 01:12:14 +02:00
|
|
|
input-ktor-data:
|