Moved connection string to env var

This commit is contained in:
Jim Martens 2023-07-12 08:53:34 +02:00
parent 1642b02685
commit 95c65bedde
2 changed files with 14 additions and 0 deletions

View File

@ -8,6 +8,17 @@
<option name="ENABLED" value="true" />
</pattern>
</extension>
<extension name="net.ashald.envfile">
<option name="IS_ENABLED" value="true" />
<option name="IS_SUBST" value="false" />
<option name="IS_PATH_MACRO_SUPPORTED" value="false" />
<option name="IS_IGNORE_MISSING_FILES" value="false" />
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
<ENTRIES>
<ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false" />
<ENTRY IS_ENABLED="true" PARSER="env" IS_EXECUTABLE="false" PATH=".env" />
</ENTRIES>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>

View File

@ -27,6 +27,9 @@ spring:
banner-mode: off
profiles:
default: dev
data.mongodb:
uri: ${MONGODB_CONNECTION_STRING}
auto-index-creation: true
# properties for application
de.twomartens.wahlrecht: