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

Feat/backend/docker setup #6

Merged
merged 14 commits into from
Mar 2, 2024
Merged

Feat/backend/docker setup #6

merged 14 commits into from
Mar 2, 2024

Conversation

shin0729
Copy link
Contributor

@shin0729 shin0729 commented Mar 2, 2024

やったこと

フロントエンドサイドが実装時に環境をdocker-compose upでビルドできるようにしました.
APIは簡単なヘルスチェックのみの実装,DBはentをとおして作成されるようにしました.
ルータ,エントリポイントについても作成しました.
docker-composeを作成しました

やらないこと

具体的なAPIの実装(ヘルスチェック以外の)

できるようになること(ユーザ目線)

多分みんなが環境をセットアップできるようになる

できなくなること(ユーザ目線)

なし

動作確認

docker compose up --buidした.エラーが出ていた部分が以下のように治った
api-1 | 2024/03/02 06:14:51 ent client is opened
api-1 | 2024/03/02 06:14:52 schema is created
api-1 | 2024/03/02 06:14:52 server is running at http://localhost:8080
当該URL(http://localhost:8080/health)で「API is running」を確認しました

その他

使用しているosによってDB→API起動順序にエラーがでるかもみたいな記事を読んだけど関係ないよな...

typing-server/docker-compose.yml Outdated Show resolved Hide resolved
typing-server/docker-compose.dev.yml Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
typing-server/docker-compose.yml Outdated Show resolved Hide resolved
typing-server/docker-compose.dev.yml Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
typing-server/api/cmd/main.go Outdated Show resolved Hide resolved
@shin0729 shin0729 merged commit c53b254 into develop Mar 2, 2024
1 check passed
@h-takeyeah h-takeyeah deleted the feat/backend/docker-setup branch March 29, 2024 02:45
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.

2 participants