Commit 71aa5287 authored by zhaowenhao's avatar zhaowenhao

[feat] 1. 增加demo部署配置

parent ed0a98f2
...@@ -289,6 +289,11 @@ ...@@ -289,6 +289,11 @@
</filesets> </filesets>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.4.5</version>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
<plugins> <plugins>
......
This diff is collapsed.
spring:
application:
# dubbo启动需要程序名称
name: web
cloud:
nacos:
config:
server-addr: 10.102.1.163:8848
file-extension: yaml
group: signal
namespace: signal
username: nacos
password: Wgzonal0sowQjm9
main:
allow-circular-references: true
\ No newline at end of file
utc.service.url=http://fuzhujuece-signal-utc-service:32000/utc
utc.dt.service.url=http://10.102.1.182:39002/utc-dt
utc.hisense.service.url=http://10.102.1.182:39003/utc-hisense
control.url=http://10.102.1.182:32001/web
This diff is collapsed.
spring:
cloud:
nacos:
config:
server-addr: 10.102.1.163:8848
file-extension: yaml
group: signal
namespace: signal
username: nacos
password: Wgzonal0sowQjm9
application:
# dubbo启动需要程序名称
name: signal-optimize-service
main:
allow-circular-references: true
This diff is collapsed.
...@@ -119,7 +119,7 @@ public class RedisConfig extends CachingConfigurerSupport { ...@@ -119,7 +119,7 @@ public class RedisConfig extends CachingConfigurerSupport {
@Bean @Bean
public Jedis jedis() { public Jedis jedis() {
Jedis jedis = new Jedis(redisHost, redisPort); Jedis jedis = new Jedis(redisHost, redisPort);
jedis.auth("Wanji300552"); jedis.auth(password);
return jedis; return jedis;
} }
......
spring:
application:
# dubbo启动需要程序名称
name: utc
main:
allow-circular-references: true
cloud:
nacos:
config:
server-addr: 10.102.1.163:8848
file-extension: yaml
group: signal
namespace: signal
username: nacos
password: Wgzonal0sowQjm9
\ No newline at end of file
...@@ -558,4 +558,32 @@ ...@@ -558,4 +558,32 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<configuration>
<!-- we don't want jib to execute on this module -->
<skip>true</skip>
</configuration>
</plugin>
<!-- we want this library to be built reproducibly -->
<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
<version>0.11</version>
<executions>
<execution>
<id>run-when-packaged</id>
<goals>
<goal>strip-jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>
\ No newline at end of file
...@@ -44,6 +44,29 @@ ...@@ -44,6 +44,29 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<configuration>
<!-- we don't want jib to execute on this module -->
<skip>true</skip>
</configuration>
</plugin>
<!-- we want this library to be built reproducibly -->
<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
<version>0.11</version>
<executions>
<execution>
<id>run-when-packaged</id>
<goals>
<goal>strip-jar</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment