aboutcode-org / aboutcode-org/scancode.io

ALLOWED_HOSTS in a docker container

オープン
#246 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
215
フォーク
203
平均マージ
4日 8時間
マージ済み PR(30日)
6

説明

The [documentation](https://github.com/nexB/scancode.io/blob/main/docs/run-docker.rst#run-the-image) asks to populate `ALLOWED_HOSTS` in `.env` during the _Run_ phase. This will have no effect inside the docker container. `ALLOWED_HOSTS` should be either
1) Placed before building the dockerfile so that `.env` gets copied inside the container and carries the `ALLOWED_HOSTS` value or
2) Be used inside `docker.env`.

2 appears to be a better approach in my opinion.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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