Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-bigdata
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-bigdata
Commits
e581fdfa
Commit
e581fdfa
authored
Aug 19, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
123b808a
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
40 additions
and
23 deletions
+40
-23
api-server/src/main/resources/bootstrap.yml
+4
-2
config-server/src/main/resources/properties/config-dev.yml
+6
-3
config/sh/config/config.sh
+2
-2
config/sh/start.sh
+2
-2
file-server/src/main/resources/bootstrap.yml
+4
-2
gateway-server/src/main/resources/bootstrap.yml
+5
-3
portal-server/src/main/resources/bootstrap.yml
+4
-2
resource-server/src/main/resources/bootstrap.yml
+4
-2
sys-server/src/main/resources/bootstrap.yml
+5
-3
user-server/src/main/resources/bootstrap.yml
+4
-2
No files found.
api-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://127.0.0.1:8
3
00/
uri
:
http://127.0.0.1:8
5
00/
eureka
:
eureka
:
client
:
client
:
...
...
config-server/src/main/resources/properties/config-dev.yml
View file @
e581fdfa
...
@@ -26,11 +26,14 @@ redis.url: 127.0.0.1
...
@@ -26,11 +26,14 @@ redis.url: 127.0.0.1
redis.port
:
6379
redis.port
:
6379
#数据库源配置
#数据库源配置
#jdbc.driver-class-name: com.mysql.cj.jdbc.Driver
#jdbc.username: root
#jdbc.password: rooT123!321
#jdbc.url: jdbc:mysql://192.168.0.193:3306/mz_big_data?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.driver-class-name
:
com.mysql.cj.jdbc.Driver
jdbc.driver-class-name
:
com.mysql.cj.jdbc.Driver
jdbc.username
:
root
jdbc.username
:
root
jdbc.password
:
rooT123!321
jdbc.password
:
Dk2019!23456
jdbc.url
:
jdbc:mysql://192.168.0.193:3306/mz_big_data?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
jdbc.url
:
jdbc:mysql://47.107.148.253:3306/wine?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
#jwt
#jwt
jwt
:
jwt
:
header
:
Authorization
header
:
Authorization
...
...
config/sh/config/config.sh
View file @
e581fdfa
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep config-client-1.0.0.jar |grep -v grep|awk '{print $2}')
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep config-client-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
3
00
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
5
00
>
config.log 2>&1 &
echo
"--------------start success-----------"
echo
"--------------start success-----------"
exit
exit
else
else
kill
-9
${
PID
}
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
3
00
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
5
00
>
config.log 2>&1 &
echo
"--------------start success-----------"
echo
"--------------start success-----------"
exit
exit
fi
fi
config/sh/start.sh
View file @
e581fdfa
...
@@ -23,13 +23,13 @@ echo "--------config start--------"
...
@@ -23,13 +23,13 @@ echo "--------config start--------"
PID
=
$(
ps
-ef
|grep config-client-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
PID
=
$(
ps
-ef
|grep config-client-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
3
00
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
5
00
>
config.log 2>&1 &
echo
"--------------start success-----------"
echo
"--------------start success-----------"
else
else
kill
-9
${
PID
}
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
3
00
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8
5
00
>
config.log 2>&1 &
echo
"--------------start success-----------"
echo
"--------------start success-----------"
fi
fi
...
...
file-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://127.0.0.1:8
3
00/
uri
:
http://127.0.0.1:8
5
00/
eureka
:
eureka
:
client
:
client
:
...
...
gateway-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://
localhost
:8500/
uri
:
http://
127.0.0.1
:8500/
eureka
:
eureka
:
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@
localhost
:8800/eureka/
defaultZone
:
http://admin:123456@
127.0.0.1
:8800/eureka/
portal-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://127.0.0.1:8
3
00/
uri
:
http://127.0.0.1:8
5
00/
eureka
:
eureka
:
client
:
client
:
...
...
resource-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://127.0.0.1:8
3
00/
uri
:
http://127.0.0.1:8
5
00/
eureka
:
eureka
:
client
:
client
:
...
...
sys-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://
localhost
:8500/
uri
:
http://
127.0.0.1
:8500/
eureka
:
eureka
:
client
:
client
:
serviceUrl
:
serviceUrl
:
defaultZone
:
http://admin:123456@
localhost
:8800/eureka/
defaultZone
:
http://admin:123456@
127.0.0.1
:8800/eureka/
user-server/src/main/resources/bootstrap.yml
View file @
e581fdfa
spring
:
spring
:
profiles
:
active
:
@
profiles.active@
cloud
:
cloud
:
config
:
config
:
name
:
config
name
:
config
profile
:
@
profiles.active@
profile
:
${spring.profiles.active}
discovery
:
discovery
:
enabled
:
true
enabled
:
true
service-id
:
CONFIG-SERVER
service-id
:
CONFIG-SERVER
uri
:
http://127.0.0.1:8
3
00/
uri
:
http://127.0.0.1:8
5
00/
eureka
:
eureka
:
client
:
client
:
...
...
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