Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the way to use Github Enterprise Repos #16

Open
marcellodesales opened this issue Jul 30, 2018 · 0 comments
Open

Document the way to use Github Enterprise Repos #16

marcellodesales opened this issue Jul 30, 2018 · 0 comments

Comments

@marcellodesales
Copy link
Member

Problem

  • To use Github Enterprise Repos, users must add the following env vars:
    • SPRING_CLOUD_CONFIG_SERVER_GIT_URI: Github URL
    • SPRING_CLOUD_CONFIG_SERVER_GIT_USERNAME: personal token
    • SPRING_CLOUD_CONFIG_SERVER_GIT_PASSWORD: empty

This is discussed at spring-cloud/spring-cloud-config#55 (comment)

Solution in Docker-compose

   config-server:
     image: hyness/spring-cloud-config-server
     environment:
-      SPRING_CLOUD_CONFIG_SERVER_GIT_URI: "${SPRING_CLOUD_CONFIG_SERVER_GIT_URI:-https://github.company.com/services-config/config-service-config}"
+      SPRING_CLOUD_CONFIG_SERVER_GIT_URI: https://github.company.com/services-config/config-service-config.git
+      SPRING_CLOUD_CONFIG_SERVER_GIT_USERNAME: 2ec41c9a*****b6b34
       SPRING_CLOUD_CONFIG_SERVER_GIT_PASSWORD: ""
       SPRING_CLOUD_CONFIG_SERVER_GIT_CLONE_ON_START: "true"

Dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant