Moved connection string to env var
This commit is contained in:
@@ -8,6 +8,17 @@
|
|||||||
<option name="ENABLED" value="true" />
|
<option name="ENABLED" value="true" />
|
||||||
</pattern>
|
</pattern>
|
||||||
</extension>
|
</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">
|
<method v="2">
|
||||||
<option name="Make" enabled="true" />
|
<option name="Make" enabled="true" />
|
||||||
</method>
|
</method>
|
||||||
|
|||||||
@@ -27,6 +27,9 @@ spring:
|
|||||||
banner-mode: off
|
banner-mode: off
|
||||||
profiles:
|
profiles:
|
||||||
default: dev
|
default: dev
|
||||||
|
data.mongodb:
|
||||||
|
uri: ${MONGODB_CONNECTION_STRING}
|
||||||
|
auto-index-creation: true
|
||||||
|
|
||||||
# properties for application
|
# properties for application
|
||||||
de.twomartens.wahlrecht:
|
de.twomartens.wahlrecht:
|
||||||
|
|||||||
Reference in New Issue
Block a user