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

View File

@@ -1,6 +1,11 @@
services:
app:
build: .
build:
context: .
args:
APT_MIRROR: ${APT_MIRROR:-}
PIP_INDEX_URL: ${PIP_INDEX_URL:-}
PIP_TRUSTED_HOST: ${PIP_TRUSTED_HOST:-}
restart: unless-stopped
volumes:
- db_data:/app/data
@@ -15,7 +20,7 @@ services:
image: nginx:alpine
restart: unless-stopped
ports:
- "80:80"
- "${HTTP_PORT:-80}:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on: