-
Notifications
You must be signed in to change notification settings - Fork 1
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
各ディレクトリごとに散らばった.envを統合する #201
Comments
#182 と一緒にやることで、 |
現状使ってる環境変数一覧: knowtfolio/blockchain/.env.example Lines 1 to 3 in 34e4217
knowtfolio/client/.env.example Lines 1 to 7 in 34e4217
knowtfolio/server/.env.example Lines 1 to 13 in 34e4217
|
環境変数まとめ✅はそのディレクトリの AWS関連命名規則:
これらはすべて その他命名規則:
公開(ベタ書き)できないもの
これらはユーザ入力に頼るか、aws secrets managerに保存するかになりそう 公開して良いもの
|
実装案プロジェクトルートに
各種 services:
client:
env_file:
- ./environment/aws.env
- ./environment/misc_apis.env # for tiny-mce
|
表を見ると、envの内容はサービス(blockchain, client, server)間でほとんど重複していないので、データソースごとのjson?か何かを生成後に、サービスごとの |
公開できない変数の格納にaws secrets managerの使用を検討していたが、調べた結果、これとは別のaws system manager パラメータストアが内容ほぼ変わらず無料(secrets managerは無料枠なし)なので、こっちでええやんとなっている |
各
.env
が肥大化してきて、共通の項目も増えたので統合しようThe text was updated successfully, but these errors were encountered: