Commit a778e647 by huluobin

# update

parent c87a6fba
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.3.RELEASE</version> <version>2.3.3.RELEASE</version>
<configuration> <configuration>
<mainClass>com.bailuntec.job.EbayFinanceJob</mainClass> <mainClass>com.bailuntec.job.EbayFinanceTaskApp</mainClass>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
......
...@@ -4,5 +4,5 @@ ADD base-sync-ebay-1.0-SNAPSHOT.jar base-sync-ebay-1.0-SNAPSHOT.jar ...@@ -4,5 +4,5 @@ ADD base-sync-ebay-1.0-SNAPSHOT.jar base-sync-ebay-1.0-SNAPSHOT.jar
RUN echo "Asia/Shanghai" > /etc/timezone RUN echo "Asia/Shanghai" > /etc/timezone
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/base-sync-ebay-1.0-SNAPSHOT.jar"] ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/base-sync-ebay-1.0-SNAPSHOT.jar"]
EXPOSE 8080 EXPOSE 8080
...@@ -44,7 +44,7 @@ public class DataSourceConfig { ...@@ -44,7 +44,7 @@ public class DataSourceConfig {
@Primary @Primary
@Bean @Bean
@ConfigurationProperties(prefix = "spring.datasource") @ConfigurationProperties(prefix = "spring.datasource-biz")
public DataSourceProperties bizDataSourceProperties() { public DataSourceProperties bizDataSourceProperties() {
return new DataSourceProperties(); return new DataSourceProperties();
} }
......
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
application: application:
name: base-sync-ebay name: base-sync-ebay
# 数据配置 # 数据配置
datasource: datasource-biz:
url: jdbc:mysql://gz-cdb-kp7s5i79.sql.tencentcdb.com:61691/bailun_datecenter_test?serverTimezone=GMT%2B8&characterEncoding=utf-8&rewriteBatchedStatements=true url: jdbc:mysql://gz-cdb-kp7s5i79.sql.tencentcdb.com:61691/bailun_datecenter_test?serverTimezone=GMT%2B8&characterEncoding=utf-8&rewriteBatchedStatements=true
username: root username: root
password: '#7kfnymAM$Y9-Ntf' password: '#7kfnymAM$Y9-Ntf'
......
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