0
私はgithubアカウントに接続するSpring Cloud Configプロジェクトを持っていますが、私の仕事はうまく機能しますが、私の仕事ではgitサーバーを作り、私はこのように私のapplication.ymlを変え、私の春の雲の設定プロジェクトでgitサーバーから春のクラウド設定を使用して情報を取得できません
git init configuracionCarnet
cd configuracionCarnet
git pull <url from github>
git remote add origin [email protected]:/home/desarrollo/configuracionCarnetDesarrollo.git
:
spring:
cloud:
config:
server:
git:
uri: [email protected]:/home/desarrollo/configuracionCarnet.git
username: user
password: password
server:
port: 8001
代わりにgithubのアカウントのため、後に自分のサーバー上のgitをインストールする(Linuxでは、私はこのようなリポジトリを作成しました
私はプロジェクトを実行してOKを起動しますが、http://localhost:8001/healthを実行するとあなたは…remote add…
でサーバを作成していない?事前
おかげ
導入については、[Git on the Server](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols)(および以降のセクション)を参照してください。あなた自身のサーバーを設定してください。 –