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
|
restart: always
|
||||||
container_name: pig-mysql
|
container_name: pig-mysql
|
||||||
image: pig-mysql
|
image: pig-mysql
|
||||||
# ports:
|
ports:
|
||||||
# - 3306:3306
|
- 33306:3306
|
||||||
networks:
|
networks:
|
||||||
- spring_cloud_default
|
- spring_cloud_default
|
||||||
|
|
||||||
pig-redis:
|
pig-redis:
|
||||||
image: redis:7.2.4
|
image: redis:7.2.4
|
||||||
# ports:
|
ports:
|
||||||
# - 6379:6379
|
- 36379:6379
|
||||||
restart: always
|
restart: always
|
||||||
container_name: pig-redis
|
container_name: pig-redis
|
||||||
hostname: pig-redis
|
hostname: pig-redis
|
||||||
|
@ -30,11 +30,11 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class PigxNacosApplication {
|
public class PigNacosApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
if (initEnv()) {
|
if (initEnv()) {
|
||||||
SpringApplication.run(PigxNacosApplication.class, args);
|
SpringApplication.run(PigNacosApplication.class, args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -9,7 +9,7 @@ db:
|
|||||||
user: ${MYSQL_USER:root}
|
user: ${MYSQL_USER:root}
|
||||||
password: ${MYSQL_PWD:root}
|
password: ${MYSQL_PWD:root}
|
||||||
url:
|
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:
|
pool:
|
||||||
config:
|
config:
|
||||||
connectionTimeout: 30000
|
connectionTimeout: 30000
|
||||||
@ -36,7 +36,7 @@ spring:
|
|||||||
boot: # 接入 spring boot admin
|
boot: # 接入 spring boot admin
|
||||||
admin:
|
admin:
|
||||||
client:
|
client:
|
||||||
url: http://pigx-monitor:5001
|
url: http://pig-monitor:5001
|
||||||
username: pig
|
username: pig
|
||||||
password: pig
|
password: pig
|
||||||
instance:
|
instance:
|
||||||
|
Loading…
Reference in New Issue
Block a user