-
Notifications
You must be signed in to change notification settings - Fork 3
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
topic/add supabase to docker compose yml #594
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
volumes
だとわかりづらいので、supabase-volume
などsupabase用ということがわかるようにして欲しいです.env.supabase.example
はどのように使う想定でしょうか?.env
というファイルにリネームする想定であってますかね?.env.supabase.example
がほとんど空白になっていますが、パスワードなど機密性が高い情報以外はデータとして入れておくのがいいと思います- apiはdocker-composeの
env_file
設定を使っているのに、supabseは全部composeファイルに記載しているのでチグハグな印象があります。統一した方がいいかもしれません
既存の.env.exampleを.env.firebase.exampleとリネームすべき |
以下6点を変更しました
|
DB_HOST=db | ||
DB_PORT=5432 | ||
DB_SCHEMA=postgres | ||
TESTDB_HOST=testdb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testdbが
test-threatconnectome-db
になりませんか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コンテナ名をtest-threatconnectome-db
ではなくtestdbに修正しました。
環境変数の方はtestdbのままにしています。
PR の目的
経緯・意図・意思決定
docker-compose-supabase-local.yml
.env.supabase.example
volumes
apiコンテナ
参考文献