NetflixOSS Eureka server registry with updated tomcat and eureka version
docker run -d -p 8080:8080 estuaryoss/netflix-eureka:1.9.26
docker run -d -p 8080:8080 \
-e JAVA_OPTS="-Deureka.serviceUrl.default=http://<eureka_replica_ip>:<eureka_replica_port>/eureka/v2/" estuaryoss/netflix-eureka:1.9.26
Example:
docker run -d -p 8080:8080 -e JAVA_OPTS="-Deureka.serviceUrl.default=http://10.10.10.2:8080/eureka/v2/" estuaryoss/netflix-eureka:1.9.26
For multiple eureka servers replication, separate them with comma.
curl -i http://localhost:8080/eureka
curl -i http://localhost:8080/eureka/v2
Tomcat: 9.0.26