Commit a778e647 by huluobin

# update

parent c87a6fba
......@@ -40,7 +40,7 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.3.3.RELEASE</version>
<configuration>
<mainClass>com.bailuntec.job.EbayFinanceJob</mainClass>
<mainClass>com.bailuntec.job.EbayFinanceTaskApp</mainClass>
</configuration>
<executions>
<execution>
......
......@@ -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
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
......@@ -44,7 +44,7 @@ public class DataSourceConfig {
@Primary
@Bean
@ConfigurationProperties(prefix = "spring.datasource")
@ConfigurationProperties(prefix = "spring.datasource-biz")
public DataSourceProperties bizDataSourceProperties() {
return new DataSourceProperties();
}
......
......@@ -3,7 +3,7 @@ spring:
application:
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
username: root
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