feat(proxy): add VLESS/Xray proxy configuration and update Docker setup

This commit is contained in:
2026-06-06 19:30:25 +03:30
parent 7cb4459fd4
commit dee1c3ab16
8 changed files with 383 additions and 11 deletions

View File

@@ -5,6 +5,24 @@ APP_DEBUG=false
APP_URL=https://example.com
HTTP_PORT=8080
DOCKER_REGISTRY=docker.arvancloud.ir
# Optional VLESS/Xray proxy fallback.
# Start with: docker compose --env-file .env.production --profile proxy up -d vless-proxy
XRAY_IMAGE=ghcr.io/xtls/xray-core:latest
XRAY_CONFIG_FILE=./docker/xray/config.local.json
VLESS_PROXY_HTTP_PORT=2080
VLESS_PROXY_SOCKS_PORT=2081
DOCKER_BUILD_HTTP_PROXY=
DOCKER_BUILD_HTTPS_PROXY=
DOCKER_BUILD_NO_PROXY=localhost,127.0.0.1,::1
DEBIAN_APT_MIRROR=
DEBIAN_SECURITY_APT_MIRROR=
DEBIAN_APT_DISABLE_UPDATES=
APP_HTTP_PROXY=
APP_HTTPS_PROXY=
APP_NO_PROXY=localhost,127.0.0.1,::1,mariadb,nginx,app,queue,scheduler,vless-proxy
APP_LOCALE=fa
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=fa_IR