Skip to content

Commit 3a887c5

Browse files
authored
move local conf to a local profile (#58)
1 parent ab460f3 commit 3a887c5

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

geo-data-server/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
<name>Geo data server</name>
2121
<description>Geographical data server</description>
2222

23+
<properties>
24+
<jib.container.environment>SPRING_PROFILES_ACTIVE=default</jib.container.environment>
25+
</properties>
26+
2327
<build>
2428
<pluginManagement>
2529
<plugins>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
server:
2+
port : 8087
3+
4+
network-store-server:
5+
base-uri: http://localhost:8080

geo-data-server/src/main/resources/application.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
server:
2-
port : 8087
32
forward-headers-strategy: framework
43

4+
spring:
5+
profiles:
6+
active: default,local
7+
58
network-store-server:
6-
base-uri: http://localhost:8080
79
preloading-strategy: COLLECTION
810

911
network-geo-data:

0 commit comments

Comments
 (0)