⬆️ nacos-server 2.3.2

This commit is contained in:
冷冷 2024-05-20 23:13:55 +08:00
parent 093cbb9872
commit d20757034d
3 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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);
}
}

View File

@ -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: