Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wlanboy/serviceregistry
Spring Framework based Service Registry
https://github.com/wlanboy/serviceregistry
deprecated docker spring-boot spring-cloud-eureka
Last synced: 5 days ago
JSON representation
Spring Framework based Service Registry
- Host: GitHub
- URL: https://github.com/wlanboy/serviceregistry
- Owner: wlanboy
- License: apache-2.0
- Created: 2018-01-04T14:02:07.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-05-18T08:00:07.000Z (over 1 year ago)
- Last Synced: 2023-08-13T03:51:07.383Z (over 1 year ago)
- Topics: deprecated, docker, spring-boot, spring-cloud-eureka
- Language: Java
- Homepage:
- Size: 95.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ServiceRegistry [DEPRECATED]
Spring Framework based Service Registry - DO NOT USE THIS ANY LONGERBased on https://projects.spring.io/spring-cloud/ and https://github.com/spring-cloud-samples/eureka.
## Dependencies
At least: Java 11 and Maven 3.5## Build Service Registry
mvn package -DskipTests=true## Run Service Registry
### Environment variables
export DOCKERHOST=192.168.0.100#### EUREKA_ZONE
Default value: http://127.0.0.1:8761/eureka/
Defining all available Eureka Instances.### Windows
java -jar target\serviceregistry-0.1.1-SNAPSHOT.jar### Linux (service enabled)
./target/serviceregistry-0.1.1-SNAPSHOT.jar start## Docker build
docker build -t serviceregistry:latest . --build-arg JAR_FILE=./target/serviceregistry-0.1.1-SNAPSHOT.jar## Docker run
docker run --name serviceregistry -m 512M -d -p 8761:8761 -v /tmp:/tmp -e DOCKERHOST=$DOCKERHOST -e EUREKA_ZONE=http://$DOCKERHOST:8761/eureka/ serviceregistry:latest## Docher Hub
https://hub.docker.com/repository/docker/wlanboy/serviceregistry## Check Service Registry
http://127.0.0.1:8761/