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

DecidimServiceがdevelopmentのDB接続情報で参照する環境変数を読み込ませるようにする #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yousan
Copy link
Contributor

@yousan yousan commented Jun 10, 2024

🎩 What? Why?

  • development用の環境変数を読み込ませるようにしました。

📌 Related Issues

📷 Screenshots (optional)

接続に成功したログです。

image

その他

本来は

if (production){
 // RDS_系のロード
}else{  // at development
 // DATABASE_ 系のロード
}

にできると良かったのですが、書き方がわかりませんでした 🙇‍♂️

@yousan yousan closed this Jun 11, 2024
@yousan yousan deleted the feat/46-add-development-db-connection-info branch June 11, 2024 01:14
@yousan yousan restored the feat/46-add-development-db-connection-info branch June 11, 2024 02:06
@yousan yousan reopened this Jun 11, 2024
@ayuki-joto
Copy link
Contributor

ecs環境についてはdevelopmentで動かすことを想定してないのですが、
developmentで動かしたい理由とかはあるんでしょうか?
log周りですかね?

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

Successfully merging this pull request may close these issues.

ECSのDecidimServiceがDBへの接続に失敗して起動しない
2 participants