Skip to content

Commit e4cba7c

Browse files
authored
#199: move vault host config from docker to main profile (#192)
1 parent a48a94e commit e4cba7c

14 files changed

Lines changed: 8 additions & 23 deletions

File tree

accountant/accountant-app/src/main/resources/application-docker.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ spring:
88
username: ${dbusername}
99
password: ${dbpassword}
1010
cloud:
11-
vault:
12-
host: ${VAULT_HOST}
1311
consul:
1412
host: ${CONSUL_HOST}
1513
main:

accountant/accountant-app/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spring:
2525
bootstrap:
2626
enabled: true
2727
vault:
28-
host: localhost
28+
host: ${VAULT_HOST}
2929
port: 8200
3030
scheme: http
3131
authentication: APPID

api/api-app/src/main/resources/application-docker.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ spring:
88
username: ${dbusername}
99
password: ${dbpassword}
1010
cloud:
11-
vault:
12-
host: ${VAULT_HOST}
1311
consul:
1412
host: ${CONSUL_HOST}
1513
port: 8500

api/api-app/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spring:
2525
bootstrap:
2626
enabled: true
2727
vault:
28-
host: localhost
28+
host: ${VAULT_HOST}
2929
port: 8200
3030
scheme: http
3131
authentication: APPID

bc-gateway/bc-gateway-app/src/main/resources/application-docker.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ spring:
1313
password: ${dbpassword}
1414
initialization-mode: always
1515
cloud:
16-
vault:
17-
host: ${VAULT_HOST}
1816
consul:
1917
host: ${CONSUL_HOST}
2018
port: 8500

bc-gateway/bc-gateway-app/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spring:
2020
bootstrap:
2121
enabled: true
2222
vault:
23-
host: localhost
23+
host: ${VAULT_HOST}
2424
port: 8200
2525
scheme: http
2626
authentication: APPID

eventlog/eventlog-app/src/main/resources/application-docker.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ spring:
88
url: r2dbc:postgresql://${DB_IP_PORT}/opex_eventlog
99
username: ${dbusername}
1010
password: ${dbpassword}
11-
initialization-mode: always
12-
cloud:
13-
vault:
14-
host: ${VAULT_HOST}
11+
initialization-mode: always

eventlog/eventlog-app/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spring:
1515
initialization-mode: always
1616
cloud:
1717
vault:
18-
host: localhost
18+
host: ${VAULT_HOST}
1919
port: 8200
2020
scheme: http
2121
authentication: APPID

user-management/keycloak-gateway/src/main/resources/application-docker.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ spring:
66
username: ${dbusername}
77
password: ${dbpassword}
88
cloud:
9-
vault:
10-
host: ${VAULT_HOST}
119
consul:
1210
host: ${CONSUL_HOST}
1311
port: 8500

user-management/keycloak-gateway/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spring:
2626
bootstrap:
2727
enabled: true
2828
vault:
29-
host: localhost
29+
host: ${VAULT_HOST}
3030
port: 8200
3131
scheme: http
3232
authentication: APPID

0 commit comments

Comments
 (0)