Fix Devcontainer Port Mapping

オープン
#463 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
docker, mysql
領域
databases, devops

調査の方向性

リポジトリの devcontainer 設定を開き、MySQL サービスのポートマッピングを確認してください。この issue ではファイル名が指定されていません。MySQL のデフォルトポートとマッピングを照合し、その後 devcontainer の外部から mysql -u lsf_user -ppassword -h 127.0.0.1 -P 3308 を実行して、接続が機能することを確認してください。

索引モデルが issue の本文から書いたものです。

説明

This change should be a one-liner.

As it currently stands, the only way to see the mysql database while developing is by running commands via a command line inside the mysql container. You can run vscode and connect to the devcontainer and run mysql -u lsf_user -ppassword and it'll work. If you'd like to run it in a separate terminal, however, we aren't exposing a port to the mysql server. We are exposing port 3308:3308 but inside the container, there seems to be nothing listening to 3308. Since a mysql server runs on the default port 3306, we can't currently create a mysql connection via a terminal outside of the dev container.

mysql -u lsf_user -ppassword -h 127.0.0.1 -P 3308 should connect to the server

Since it doesn't, we should change the port mapping of the db to 3308:3306.

主要言語
Python
スター
1
フォーク
1
平均マージ
3時間 24分
マージ済み PR(30日)
6

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BCStudentSoftwareDevTeam/lsf のほかの issue

BCStudentSoftwareDevTeam/lsf の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。