Bug/development env #98
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Apple Silicon Mac対応と開発環境の修正
概要
Apple Silicon Mac(M1/M2/M3)で開発環境が起動できない問題を修正しました。
問題
主な変更
1. Rubyバージョン更新
2. ARM64対応
docker-compose.with_mysql.arm.yml(MySQL 8.0使用)docker-compose.with_mysql.yml(MySQL 5.7.39)を継続使用3. 開発環境の改善
dev-entrypoint.sh(Gem自動インストール、MySQL待機処理).env.development(環境変数管理)4. Docker Compose v2対応
version: '3'を削除(obsolete警告の解消)起動方法(Apple Silicon Mac)
アクセス: http://localhost:3000
本番環境への影響
影響あり(要確認)
影響なし
.gitignore追加推奨)レビューポイント
config/puma.rbの環境変数分岐の妥当性.env.developmentの.gitignore追加要否参考資料
docs/startup-guide-arm64.md