Add optional apt/PyPI mirrors and HTTP_PORT

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-05 09:12:41 +03:30
parent a3a99411c6
commit 20c2cc018c
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