Toggle navigation
Toggle navigation
This project
Loading...
Sign in
卢阳
/
front_backend_zImage
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
ly0303521
2026-01-26 09:50:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1f82af01fb13a29358a7d3e06df51ced92374631
1f82af01
1 parent
a60723fe
设置网络和端口
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
.env.sh
start_all.sh
.env.sh
View file @
1f82af0
...
...
@@ -2,13 +2,13 @@
PUBLIC_IP
=
"106.120.52.146"
# Ports (External Access)
LOCAL_BACKEND_PORT
=
"7000"
PUBLIC_BACKEND_PORT
=
"37000"
LOCAL_FRONTEND_PORT
=
"7001"
PUBLIC_FRONTEND_PORT
=
"37001"
LOCAL_TURBO_PORT
=
"8000"
PUBLIC_TURBO_PORT
=
"38000"
PUBLIC_OSS_PORT
=
"39997"
LOCAL_BACKEND_PORT
=
"9998"
PUBLIC_BACKEND_PORT
=
"39998"
LOCAL_FRONTEND_PORT
=
"9013"
PUBLIC_FRONTEND_PORT
=
"39013"
LOCAL_TURBO_PORT
=
"7002"
PUBLIC_TURBO_PORT
=
"37002"
PUBLIC_OSS_PORT
=
"34000"
PUBLIC_ZIMAGE_PORT
=
"39009"
...
...
start_all.sh
View file @
1f82af0
...
...
@@ -9,6 +9,11 @@ else
echo
"Error: .env.sh not found in
$BASE_DIR
"
exit
1
fi
# Bypass proxy for local connections
export
no_proxy
=
"localhost,127.0.0.1,0.0.0.0,::1"
export
NO_PROXY
=
"localhost,127.0.0.1,0.0.0.0,::1"
FRONTEND_DIR
=
"
$BASE_DIR
/z-image-generator"
BACKEND_DIR
=
"
$BASE_DIR
"
CONSTANTS_FILE
=
"
$FRONTEND_DIR
/constants.ts"
...
...
Please
register
or
login
to post a comment