Add optional apt/PyPI mirrors and HTTP_PORT (#14)

Co-authored-by: Cursor <cursoragent@cursor.com>
Reviewed-on: #14
Co-authored-by: diaco <dyaco8464@yahoo.com>
Co-committed-by: diaco <dyaco8464@yahoo.com>
This commit was merged in pull request #14.
This commit is contained in:
2026-10-05 05:55:51 +00:00
committed by rhino
parent a3a99411c6
commit 298a4f9643
4 changed files with 47 additions and 6 deletions

9
.env.example Normal file
View File

@@ -0,0 +1,9 @@
# Host port published by nginx (maps to container port 80)
HTTP_PORT=80
# Optional Debian apt mirror host (replaces deb.debian.org / security.debian.org)
# APT_MIRROR=mirrors.tuna.tsinghua.edu.cn
# Optional PyPI index URL for pip during image build
# PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
# PIP_TRUSTED_HOST=pypi.tuna.tsinghua.edu.cn