From 2cb02ca22351c2d997eb5ba2fbcc0aef1eed83a8 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Tue, 10 Jan 2023 22:08:23 +0100 Subject: [PATCH] set parameter for mongo --- src/main/resources/application.properties | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 34a392f..d80f3ea 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -32,4 +32,7 @@ quarkus.http.cors.headers=accept,authorization,content-type,x-requested-with,x-f quarkus.http.cors.access-control-allow-credentials=true #quarkus.native.additional-build-args=-H:IncludeResources=.*\\.pem,.\\*.txt -quarkus.native.additional-build-args=-H:ResourceConfigurationFiles=${RESOURCES:resource-config.json} \ No newline at end of file +quarkus.native.additional-build-args=-H:ResourceConfigurationFiles=${RESOURCES:resource-config.json} + +quarkus.mongodb.connection-string=mongodb://${MONGO_USER:admin}:${MONGO_PASSWORD:mongo}@${MONGO_HOST:mongo}:${MONGO_PORT:27017} +quarkus.mongodb.database = ${MONGO_DATABASE:admin}: \ No newline at end of file