Compare commits
No commits in common. "af37f8d193ff51e09fdefe89356065ed8c5df20f" and "12d5859cc7c281fbeba38c1f66d3b252c470197a" have entirely different histories.
af37f8d193
...
12d5859cc7
@ -1,24 +0,0 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
output-service-postgres:
|
||||
image: "postgres:13"
|
||||
restart: "always"
|
||||
volumes:
|
||||
- "sample-service-data:/var/lib/postgresql/data"
|
||||
ports:
|
||||
- "127.0.0.1:54321:5432"
|
||||
environment:
|
||||
POSTGRES_USER: "sample-service"
|
||||
POSTGRES_PASSWORD: "sample-service"
|
||||
POSTGRES_DB: "sample-service"
|
||||
|
||||
rabbitmq:
|
||||
image: "registry.kmlabz.com/birbnetes/rabbitmq-federation"
|
||||
ports:
|
||||
- "127.0.0.1:15672:15672"
|
||||
- "127.0.0.1:5672:5672"
|
||||
|
||||
volumes:
|
||||
ktor-data:
|
@ -2,10 +2,10 @@ package config
|
||||
|
||||
data class EnvConfig (
|
||||
var mqHost: String = System.getenv("MQ_HOST") ?: "localhost",
|
||||
var mqUserName: String = System.getenv("MQ_USERNAME") ?: "user",
|
||||
var mqUserName: String = System.getenv("MQ_USERNAME") ?: "rabbitmq",
|
||||
var mqPassWord: String = System.getenv("MQ_PASSWORD") ?: "rabbitmq",
|
||||
var mqExchange: String = System.getenv("MQ_EXCHANGE") ?: "sample",
|
||||
var dbJdbc: String = System.getenv("DB_JDBC") ?: "jdbc:postgresql://localhost:5432/sample-service",
|
||||
var dbUsername: String = System.getenv("DB_USERNAME") ?: "sample-service",
|
||||
var dbPassowrd: String = System.getenv("DB_PASSOWRD") ?: "sample-service"
|
||||
var mqExchange: String = System.getenv("MQ_EXCHANGE") ?: "rabbitmq",
|
||||
var dbJdbc: String = System.getenv("DB_JDBC") ?: "input",
|
||||
var dbUsername: String = System.getenv("DB_USERNAME") ?: "output",
|
||||
var dbPassowrd: String = System.getenv("DB_PASSOWRD") ?: "output"
|
||||
)
|
Loading…
Reference in New Issue
Block a user