Public Repository

Last pushed: 5 months ago
Short Description
Address Docker
Full Description

Address Docker
Change the values of:

{eureka.client.host}

{oauth.host}

for the IP where those applications is running.

ADDRESS

docker run \
-e "SPRING.PROFILES.ACTIVE=docker,eureka,swagger" \
-e "EUREKA.CLIENT.HOST={eureka.client.host}" \
-e "OAUTH.HOST={oauth.host}" \
--name address \
--link eureka-server:eureka \
--link address-mysql:mysql \
--link sso:sso \
-p 9008:9008 \
tiagonet/address

Example:

docker run \
-e "SPRING.PROFILES.ACTIVE=docker,eureka,swagger" \
-e "EUREKA.CLIENT.HOST=192.168.3.215" \
-e "OAUTH.HOST=192.168.3.215" \
--name address \
--link eureka-server:eureka \
--link address-mysql:mysql \
--link sso:sso \
-p 9008:9008 \
tiagonet/address

Docker Pull Command
Owner
tiagonet

Comments (0)