こんにちは桜川です。 Docker便利ですね! 自分の開発環境はWebサーバーにアクセスするのに、前段にNginxでリーバースプロキシを設置してホスト名を切り替えてアクセスしてます。 この方法で基本困ってなかったのですが、地味にめんどくさいのがNginxへのリバースプロキシ設定の追加です。 コンテナ新規起動 => Nginxのリバースプロキシ設定の追加 => Nginx再起動 この設定1分あれば完了する。。。 けど、めんどくさい。。。 しかも、設定ファイルの管理もめんどくさい。。。 やっぱりあった nginx-proxy を利用するとコンテナに起動・終了を検知して自動でリバースプロキシの設定を行ってくれます! nginx-proxy 知らなかったよ。。。 ググってすらなかった。。。 github.com jwilder/nginx-proxy とりあえずhttpアクセスできるようにする リ