Use env variables for configuration:

master
esensar 2017-04-16 21:31:49 +02:00
parent 74863b5222
commit 7d760f030f
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
server.port=8761 server.port=${PORT:8761}
eureka.client.register-with-eureka=false eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false eureka.client.fetch-registry=false

View File

@ -1,3 +1,3 @@
spring.application.name=events spring.application.name=events
server.port=9020 server.port=0
spring.datasource.url = ${defaultDbBaseUrl}/events spring.datasource.url = ${defaultDbBaseUrl}/events

View File

@ -1,3 +1,3 @@
spring.application.name=teams spring.application.name=teams
server.port=9010 server.port=0
spring.datasource.url = ${defaultDbBaseUrl}/teams spring.datasource.url = ${defaultDbBaseUrl}/teams

View File

@ -1,4 +1,4 @@
spring.application.name=users spring.application.name=users
server.port=8090 server.port=0
spring.datasource.url = ${defaultDbBaseUrl}/users 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+0hiSf0S2s4yn70i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