Files
lingma-openai-gateway/docker-compose.yml
root d2995b2c48
Some checks failed
CI / lint-and-compile (push) Has been cancelled
CI / lint-and-compile (pull_request) Has been cancelled
chore: add auto pip mirror selection by region
2026-04-17 16:20:32 +08:00

19 lines
469 B
YAML

services:
lingma-openai-gateway:
build:
context: .
# Use Tencent PyPI mirror during build to avoid timeout.
args:
PIP_INDEX_URL: https://mirrors.cloud.tencent.com/pypi/simple
PIP_TRUSTED_HOST: mirrors.cloud.tencent.com
PIP_REGION: auto
container_name: lingma-openai-gateway
env_file:
- .env
ports:
- "${PORT:-8317}:${PORT:-8317}"
volumes:
- ./data:/app/data
restart: unless-stopped