Navigation Menu

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

ローカル開発環境の調整 (2021/1/1) #6

Closed
sogaoh opened this issue Jan 1, 2021 · 0 comments · Fixed by #7
Closed

ローカル開発環境の調整 (2021/1/1) #6

sogaoh opened this issue Jan 1, 2021 · 0 comments · Fixed by #7

Comments

@sogaoh
Copy link
Contributor

sogaoh commented Jan 1, 2021

  • DB_PORT_C を変更すると migrate 等でエラーが発生する問題を修正

    • コンテナ間通信におけるポートは 3306 に固定
    • コンテナ外から mysql -h localhost -P ${DB_PORT_C} -u ${DB_USER_C} -p で接続可能(なはず)
    • dbコンテナ内では mysql -u ${DB_USER_C} -p で接続可能
  • 環境変数として以下を追加

    • RECAPTCHA_SITE_KEY_C -> Laravel の .env では RECAPTCHA_SITE_KEY として config('recaptcha.site-key') で取得可能(なはず)
    • RECAPTCHA_SECRET_KEY_C -> Laravel の .env では RECAPTCHA_SECRET_KEY として config('recaptcha.secret-key') で取得可能(なはず)
  • app コンテナに vim を追加

  • README に トラブルシューティング Note を追加

@sogaoh sogaoh mentioned this issue Jan 1, 2021
syuumu200 added a commit that referenced this issue Jan 1, 2021
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 a pull request may close this issue.

1 participant