From 7d760f030f4ad1d8829503796c009f4e107fc491 Mon Sep 17 00:00:00 2001 From: esensar Date: Sun, 16 Apr 2017 21:31:49 +0200 Subject: [PATCH] Use env variables for configuration: --- eureka-service.properties | 2 +- events.properties | 2 +- teams.properties | 2 +- users.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eureka-service.properties b/eureka-service.properties index 4944e79..f014385 100644 --- a/eureka-service.properties +++ b/eureka-service.properties @@ -1,4 +1,4 @@ -server.port=8761 +server.port=${PORT:8761} eureka.client.register-with-eureka=false eureka.client.fetch-registry=false diff --git a/events.properties b/events.properties index 66622d1..e557fe2 100644 --- a/events.properties +++ b/events.properties @@ -1,3 +1,3 @@ spring.application.name=events -server.port=9020 +server.port=0 spring.datasource.url = ${defaultDbBaseUrl}/events diff --git a/teams.properties b/teams.properties index 0f96478..d14d3a4 100644 --- a/teams.properties +++ b/teams.properties @@ -1,3 +1,3 @@ spring.application.name=teams -server.port=9010 +server.port=0 spring.datasource.url = ${defaultDbBaseUrl}/teams diff --git a/users.properties b/users.properties index 22a5c61..cccdd2b 100644 --- a/users.properties +++ b/users.properties @@ -1,4 +1,4 @@ spring.application.name=users -server.port=8090 +server.port=0 spring.datasource.url = ${defaultDbBaseUrl}/users user.password={cipher}AgByMT6uS1iv66pCSztt9NITRz6Y1K74erJgPnRLOjrQsSzkt0U74PvKYh+oeLhq2OGR4nLJ74NP0/c94DGG06UEpWbuU03Rl20fn208nzS6kEebbNfbwQ2t2MFu51ySvlt94xgeZo6kWSoIPsy6OuAoOzcEuFT6retLzQR7s+Ld8CIXxNoDQE5nGKv+YTGBAZn69RSfVo41GGejBWfr2PsRt9sTUpTMsk0zlIdHpU73cP7gh4ySlaOieF3cHipDsATU5Wg1HdBtr33Y0bfg7aoxxFdeqITpV8/e1uIkk63vZ0RdDXA+LGiEfUVeW7DSEgvQhN5GXj5ZAPfpmow7Mhr+VPhUWv8DSVfAUaKJvqQIxkHhGmLeqKZSnNaR2qlDbdV/ITIbBtF/wnzaOxn6Hg4VIliog/nJb8WX+Fysv+PmfC4cpxZb22AlW6DN+NMOB8Pryu+zwlKlbXEj44yjvGlElOqUA6GKnsBoCEgKNQ8SVJLIgoBVGHxMfZ7mrPj/TxvUpuuy4ZYjkgZYims/q3FPGHAMzykL1GEgrnodzp+0hiSf0S2s4yn70iEBnw5APEeLMnkvnKBL067xxfbqetDdVfIHD37GtVj0BimtzI3iK6uzDPBcmXgeaWwLhERCwwaVh2nlInv86zPRl5hJjbAG4Ia7MCKOGdnMX8oJSbRtRZjPBtzOsXvlyhw6YmqphRXNODxstUQLS5zFgn/MpLwX \ No newline at end of file