mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
⬆️ nacos-server 2.3.2
This commit is contained in:
parent
093cbb9872
commit
d20757034d
@ -9,15 +9,15 @@ services:
|
||||
restart: always
|
||||
container_name: pig-mysql
|
||||
image: pig-mysql
|
||||
# ports:
|
||||
# - 3306:3306
|
||||
ports:
|
||||
- 33306:3306
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pig-redis:
|
||||
image: redis:7.2.4
|
||||
# ports:
|
||||
# - 6379:6379
|
||||
ports:
|
||||
- 36379:6379
|
||||
restart: always
|
||||
container_name: pig-redis
|
||||
hostname: pig-redis
|
||||
|
@ -30,11 +30,11 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
@Slf4j
|
||||
@EnableScheduling
|
||||
@SpringBootApplication
|
||||
public class PigxNacosApplication {
|
||||
public class PigNacosApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
if (initEnv()) {
|
||||
SpringApplication.run(PigxNacosApplication.class, args);
|
||||
SpringApplication.run(PigNacosApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ db:
|
||||
user: ${MYSQL_USER:root}
|
||||
password: ${MYSQL_PWD:root}
|
||||
url:
|
||||
0: jdbc:mysql://${MYSQL_HOST:pigx-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pigxx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||||
0: jdbc:mysql://${MYSQL_HOST:pig-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pig_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||||
pool:
|
||||
config:
|
||||
connectionTimeout: 30000
|
||||
@ -36,7 +36,7 @@ spring:
|
||||
boot: # 接入 spring boot admin
|
||||
admin:
|
||||
client:
|
||||
url: http://pigx-monitor:5001
|
||||
url: http://pig-monitor:5001
|
||||
username: pig
|
||||
password: pig
|
||||
instance:
|
||||
|
Loading…
Reference in New Issue
Block a user