Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
261f9fab
Commit
261f9fab
authored
Nov 07, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件1
parent
bb8f1601
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
sample-form-manager-ui/admin/.env.test
sample-form-manager-ui/admin/.env.test
+1
-1
sample-form-manager/pom.xml
sample-form-manager/pom.xml
+8
-0
sample-form-manager/src/main/bin/deploy.sh
sample-form-manager/src/main/bin/deploy.sh
+3
-2
No files found.
sample-form-manager-ui/admin/.env.test
View file @
261f9fab
#开发环境
NODE_ENV
=
"test"
VUE_APP_API_BASE_URL
=
http
://
192.168
.
0.98
:
17002
\ No newline at end of file
VUE_APP_API_BASE_URL
=
http
://
192.168
.
0.98
:
11078
\ No newline at end of file
sample-form-manager/pom.xml
View file @
261f9fab
...
...
@@ -27,6 +27,7 @@
<profiles.active>
develop
</profiles.active>
<profiles.server.port>
17002
</profiles.server.port>
<profiles.nginx.port>
11099
</profiles.nginx.port>
<profiles.server.gatewayport>
11078
</profiles.server.gatewayport>
<profiles.server.path>
/sampleform
</profiles.server.path>
<profiles.rabbitmq.host>
127.0.0.1
</profiles.rabbitmq.host>
<profiles.rabbitmq.port>
5672
</profiles.rabbitmq.port>
...
...
@@ -50,6 +51,7 @@
<profiles.server.ip>
192.168.0.98
</profiles.server.ip>
<profiles.server.port>
11078
</profiles.server.port>
<profiles.nginx.port>
11099
</profiles.nginx.port>
<profiles.server.gatewayport>
11078
</profiles.server.gatewayport>
<profiles.server.path>
/sampleform
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.rabbitmq.host>
192.168.0.98
</profiles.rabbitmq.host>
...
...
@@ -73,6 +75,7 @@
<profiles.server.ip>
192.168.0.251
</profiles.server.ip>
<profiles.server.port>
17002
</profiles.server.port>
<profiles.nginx.port>
11099
</profiles.nginx.port>
<profiles.server.gatewayport>
11078
</profiles.server.gatewayport>
<profiles.server.path>
/sampleform
</profiles.server.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.rabbitmq.host>
192.168.0.251
</profiles.rabbitmq.host>
...
...
@@ -179,6 +182,11 @@
<directory>
src/main/resources
</directory>
<filtering>
true
</filtering>
</resource>
<!-- <resource>-->
<!-- <directory>../sample-form-manager-ui/admin</directory>-->
<!-- <filtering>true</filtering>-->
<!-- </resource>-->
</resources>
<plugins>
...
...
sample-form-manager/src/main/bin/deploy.sh
View file @
261f9fab
...
...
@@ -9,11 +9,12 @@ BASEDIR=$( (
LOCK_FILE
=
"/tmp/deploy.lock"
# 时间变量
CDATE
=
$(
date
"+%Y-%m-%d"
)
CTIME
=
$(
date
"+%H
-%M-
%S"
)
CTIME
=
$(
date
"+%H
:%M:
%S"
)
PUBLISH_PATH
=
"@profiles.publish.path@"
PROJECT_NAME
=
"@project.artifactId@"
IP
=
"@profiles.server.ip@"
PORT
=
"@profiles.server.port@"
GATEWAY_PORT
=
"@profiles.server.gatewayport@"
SHELL_LOG
=
"
${
BASEDIR
}
/
${
SHELL_NAME
}
.log"
...
...
@@ -104,7 +105,7 @@ build_nginx() {
}
location
${
NGINX_SERVER_PATH
}
/ {
proxy_pass http://
${
IP
}
:
${
PORT
}
;
proxy_pass http://
${
IP
}
:
${
GATEWAY_
PORT
}
;
proxy_set_header Host
\$
host;
proxy_set_header X-Real-IP
\$
remote_addr;
proxy_set_header X-Forwarded-For
\$
proxy_add_x_forwarded_for;
...
...
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