hyness / spring-cloud-config-server

Docker build of the spring-cloud-config-server
Apache License 2.0
74 stars 54 forks source link

Please update documentation for using mounted .ssh volumes #105

Closed fennekit closed 1 year ago

fennekit commented 1 year ago

it took me a couple of days to find out that since the use of the Cloud Native buildpacks the .ssh directory is under /home/cnb/.ssh docker run --rm --name=test -it -p 8888:8888 -v $HOME/.ssh:/home/cnb/.ssh hyness/spring-cloud-config-server --spring.cloud.config.server.git.uri=git@github.com:user/private-github-repo.git --spring.cloud.config.server.git.default-label=main

It might be useful to add this to the documentation or a wiki page. Posting this to save people tons of time.

Originally posted by @fennekit in https://github.com/hyness/spring-cloud-config-server/issues/60#issuecomment-1376062484

hyness commented 1 year ago

Updated README