Skip to content

Instantly share code, notes, and snippets.

@yusufcakal
Created November 28, 2019 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusufcakal/1f04925c119d16ce36551bcc20819da9 to your computer and use it in GitHub Desktop.
Save yusufcakal/1f04925c119d16ce36551bcc20819da9 to your computer and use it in GitHub Desktop.
docker build -f Dockerfile -t config-server:latest .
docker run -e ACTIVE_PROFILE=default -e CONFIG_GIT_REPO_NAME=xxx-configs -e CONFIG_GIT_USERNAME=username -e CONFIG_GIT_PASSWORD=password -p 8089:8089 -it config-server:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment