Skip to content

Latest commit

 

History

History

config-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

steeltoe.azurecr.io/config-server

Image for SteeltoeOSS local development with Spring Cloud Config Server.

Running

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

Resources

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}