build(deploy): Add configurable Maven mirror

Add MAVEN_MIRROR_URL for 1Panel backend builds so deployments can
use a faster regional mirror or Maven Central based on network access.

Update the 1Panel deployment guide to document the mirror option and
keep first-time Nacos credentials guidance near environment setup.
This commit is contained in:
Toys-A
2026-08-05 20:44:43 +08:00
parent c91b9059dd
commit 53e309026f
4 changed files with 59 additions and 1 deletions
+2
View File
@@ -20,6 +20,8 @@ NACOS_AUTH_TOKEN=change-me-nacos-auth-token-at-least-32-bytes-long
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=change-me-grafana-password
MAVEN_MIRROR_URL=https://maven.aliyun.com/repository/public
LOCAL_BIND_ADDR=127.0.0.1
FRONTEND_BIND_ADDR=127.0.0.1
WEB_HTTP_PORT=18080