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

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: