diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2018-04-17 17:42:05 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2018-04-17 17:47:02 +0200 |
commit | 012cf24a769893f092f07d05737e9e9e9dda40f1 (patch) | |
tree | 195d4640aa5eb542c5392b6621b393a7870fcb0c | |
parent | 4a2e0e101c132c2218033b5e381898a6024e34d8 (diff) |
Right variables for NBI
rename SPRING_SDC_HOST, SPRING_AAI_HOST and SPRING_SO_HOST to SDC_HOST,
AAI_HOST and SO_HOST respectively.
put the right value in these variables (with http(s) and ports and not
only the IP address, my bad).
force restart of nbi container on failure
Issue-ID: EXTAPI-75
Change-Id: I7b179bd1bf4201fe89f31a1d0c50d19fa02c8227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
-rw-r--r-- | docker-compose.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 89902ab..01c518d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,9 +27,10 @@ services: SPRING_DATASOURCE_PASSWORD: toto SPRING_DATASOURCE_USERNAME: rene SPRING_DATA_MONGODB_HOST: mongo - SPRING_SDC_HOST: ${SDC_IP} - SPRING_AAI_HOST: ${AAI_IP} - SPRING_SO_HOST: ${SO_IP} + SDC_HOST: http://${SDC_IP}:8080 + AAI_HOST: https://${AAI_IP}:8443 + SO_HOST: http://${SO_IP}:8080 + restart: on-failure depends_on: - mariadb - mongo |