ddc87e5d3f | ||
---|---|---|
.github/workflows | ||
gradle/wrapper | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
azure-pipelines.yaml | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
Steeltoe InitializrConfigServer
A Spring Cloud Config Server for Steeltoe InitializrApi
Build
./gradlew bootJar
Docker
docker build -t initializr-config-server .
Run
Using Application Jar
java -jar build/libs/Steeltoe.InitializrConfigServer-*.jar <args>
Using Gradle
./gradlew bootRun -Pargs=<args>
Using Docker
docker run -it --rm -p 8888:8888 initializr-config-server <args>
Options
Logging
logging.level.io.steeltoe={error,warn,info,debug,trace}
Git Backend
spring.cloud.config.server.git.uri=<url>
Local Backend
spring.profiles.active=native
spring.cloud.config.server.native.searchLocations=file://<path>
Sample URL paths
# development profile
/SteeltoeInitializr/Development
# development profile per a branch
/SteeltoeInitializr/Development/master
# development profile per a tag
/SteeltoeInitializr/Development/0.1.0
# development profile per a commit
/SteeltoeInitializr/Development/f425c275a3bff305b0b3bf2b1c4586fa7400b527