https://github.com/maoerd/config-server
https://hub.docker.com/r/mengluo668/config-server/
Run with default configurations
docker run -p 8888:8888 mengluo668/config-server:0.0.1-SNAPSHOT
Run with customize configuration files (Without port change in customer configuration files)
docker run -p 8888:8888 -v /path/to/configurations:/config-server/config mengluo668/config-server:0.0.1-SNAPSHOT
docker run -p 80:80 -v /path/to/configurations:/config-server/config mengluo668/config-server:0.0.1-SNAPSHOT
eureka:
instance:
hostname: localhost
client:
enabled: true
serviceUrl:
defaultZone: http://localhost:8761/eureka/
- You have to explicit claim eureka.client.enabled as true to enable service register and discovery feature(Override the default value)
- eureka.client require a external Eureka Server exist. You have to explicit claim your Eureka Server settings in your configuration files(Eureka client will register config-server application into Eureka Server as a service).
spring:
cloud:
bus:
enabled: true
- You have to explicit claim spring.cloud.bus.enabled as true to enable spring cloud bus feature(Override the default value).
- spring.cloud.bus require a external kafka bind. You have to explicit claim your kafka settings in your configuration files(Spring Cloud Bus links nodes of a distributed system with a lightweight message broker, here is Kafka, and broadcast state changes to nodes).
https://github.com/maoerd/configuration
Content type
Image
Digest
Size
125.2 MB
Last updated
over 8 years ago
docker pull mengluo668/config-server:0.0.1-SNAPSHOT