Sign inSign up

daflockinger/heureka

By daflockinger

Updated over 9 years ago

Simple Eureka Server.

Image
0

386

daflockinger/heureka repository overview

Heureka - Simple Eureka Server for Docker

A simple eureka server with the possibility to have 2 peers running that are aware of each other (server failover). For the peers the hosts and the ports can be specified.

The docker can be started with first pulling the latest from the docker hub:

docker pull daflockinger/heureka

and started with:

docker run -d daflockinger/heureka

For peer1 add this to the docker run command:

 -Dspring.profiles.active=peer1

For peer2 add this to the docker run command:

 -Dspring.profiles.active=peer2

The peers hostname and port can be configured with adding these environment variables to the docker:

PathDescription
PEER1_PORTPort of the first peer (default is 8761)
PEER1_HOSTNAMEHostname of the first peer (default is 'peer1')
PEER2_PORTPort of the second peer (default is 8762)
PEER2_HOSTNAMEHostname of the second peer (default is 'peer2')

Github repository of the project: https://github.com/daflockinger/heureka

Tag summary

Content type

Image

Digest

Size

130.5 MB

Last updated

over 9 years ago

docker pull daflockinger/heureka