aboutcode-org / aboutcode-org/scancode.io
ALLOWED_HOSTS in a docker container
未关闭
- 主要语言
- Python
- 星标
- 215
- 派生
- 203
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 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 还没有评估数据。