Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kunkka王辉
docker-test
Commits
68984380
Commit
68984380
authored
Sep 13, 2023
by
Kunkka王辉
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 变量处理
parent
ccff10e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
18 deletions
+21
-18
deploy-env
src/deploy-env
+0
-16
deploy-hosts.sh
src/deploy-hosts.sh
+21
-2
No files found.
src/deploy-env
deleted
100644 → 0
View file @
ccff10e2
#部署的env全部,用来追加到 项目的.env 文件用来支持每个服务之间的调用
SERVICE_BaseMicros=$HOST:1234 #缺省
SERVICE_MarketMicros=$HOST:1234 #缺省
SERVICE_FlowMicros=$HOST:$GALAXY_FLOW_MICROS_API_HTTP_PORT
SERVICE_UserMicros=$HOST:$GALAXY_USER_MICROS_API_HTTP_PORT
SERVICE_FlowEngineMicros= #java
SERVICE_ServerSiteMicros=$HOST:$GALAXY_SERVER_SITE_API_HTTP_PORT
SERVICE_NoticeMicros= #java
SERVICE_PromotionMicros=#缺省
SERVICE_MemberMicros=#缺省
SERVICE_PresaleMicros=$HOST:$GALAXY_PRESALE_MICROS_API_HTTP_PORT
SERVICE_BizPlatform= #java
SERVICE_CrmClient= #java
SERVICE_common-server=$HOST:$GALAXY_COMMON_SERVER_API_HTTP_PORT
SERVICE_workflow-server=$HOST:$GALAXY_WORKFLOW_API_HTTP_PORT
SERVICE_data-center=$HOST:1234 #缺省
\ No newline at end of file
src/deploy-hosts.sh
View file @
68984380
...
...
@@ -78,7 +78,7 @@ cat <<EOF >/etc/nginx/conf.d/crm-client.conf
server {
listen
$OLD_CRM_CLIENT_HTTP_PORT
;
server_name localhost;
root /app/www/
CRM-C
lient;
root /app/www/
crm-c
lient;
index index.php index.html;
location ^~ /backend/ {
...
...
@@ -125,7 +125,7 @@ cat <<EOF >/etc/nginx/conf.d/crm-userinfo.conf
server {
listen
$OLD_CRM_USER_HTTP_PORT
;
server_name localhost;
root /app/www/
User-Information-S
ystem;
root /app/www/
user-information-s
ystem;
index index.php index.html;
location ^~ /backend/ {
proxy_pass http://
$HOST
:
$GALAXY_FLOW_MICROS_API_HTTP_PORT
;
...
...
@@ -384,3 +384,22 @@ server {
}
}
EOF
cat
<<
EOF
>/app/www/.env-for-add
#部署的env全部,用来追加到 项目的.env 文件用来支持每个服务之间的调用
#用于替换掉hostFile的配置
SERVICE_BaseMicros=
$HOST
:1234 #缺省
SERVICE_MarketMicros=
$HOST
:1234 #缺省
SERVICE_FlowMicros=
$HOST
:
$GALAXY_FLOW_MICROS_API_HTTP_PORT
SERVICE_UserMicros=
$HOST
:
$GALAXY_USER_MICROS_API_HTTP_PORT
SERVICE_FlowEngineMicros=
$JAVA_FLOWENGINE_URI
SERVICE_ServerSiteMicros=
$HOST
:
$GALAXY_SERVER_SITE_API_HTTP_PORT
SERVICE_NoticeMicros=
$JAVA_NOTICE_URI
SERVICE_PromotionMicros=
$HOST
:1234#缺省
SERVICE_MemberMicros=
$HOST
:1234#缺省
SERVICE_PresaleMicros=
$HOST
:
$GALAXY_PRESALE_MICROS_API_HTTP_PORT
SERVICE_BizPlatform=
$JAVA_BIZ_PLATFORM_URI
SERVICE_CrmClient=
$JAVA_CLIENT_URI
SERVICE_common-server=
$HOST
:
$GALAXY_COMMON_SERVER_API_HTTP_PORT
SERVICE_workflow-server=
$HOST
:
$GALAXY_WORKFLOW_API_HTTP_PORT
SERVICE_data-center=
$HOST
:1234 #缺省
EOF
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment