Image for SteeltoeOSS local development with Spring Cloud Config Server.
Default Configuration
$ docker run --publish 8888:8888 steeltoe.azurecr.io/config-server
Custom Git Repo Configuration
$ docker run --publish 8888:8888 steeltoe.azurecr.io/config-server \ --spring.cloud.config.server.git.uri=https://github.com/myorg/myrepo.git
Local File System Configuration
$ docker run --publish 8888:8888 --volume /path/to/my/config:/config steeltoe.azurecr.io/config-server \ --spring.profiles.active=native \ --spring.cloud.config.server.native.searchLocations=file:///config
Path | Description |
---|---|
/{app}/{profile} |
Configuration data for app in Spring profile |
/{app}/{profile}/{label} |
Add a git label |
/{app}/{profiles}/{label}/{path} |
Environment-specific plain text config file at {path} |
Example: http://localhost:8888/foo/bar