3 changed files with 47 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
MODE=standalone |
||||||
|
PREFER_HOST_MODE=hostname |
||||||
|
NACOS_APPLICATION_PORT=8848 |
||||||
|
SPRING_DATASOURCE_PLATFORM=mysql |
||||||
|
MYSQL_SERVICE_HOST=47.111.191.224 |
||||||
|
MYSQL_SERVICE_DB_NAME=kicc_config |
||||||
|
MYSQL_SERVICE_PORT=3306 |
||||||
|
MYSQL_SERVICE_USER='u_kanglai_account' |
||||||
|
MYSQL_SERVICE_PASSWORD='$kanglai.<2021>#' |
||||||
|
NACOS_AUTH_TOKEN_EXPIRE_SECONDS=18000 |
@ -0,0 +1,17 @@ |
|||||||
|
|
||||||
|
```bash |
||||||
|
#配置docker镜像代理 |
||||||
|
sudo mkdir -p /etc/docker |
||||||
|
sudo tee /etc/docker/daemon.json <<-'EOF' |
||||||
|
{ |
||||||
|
"registry-mirrors": [ |
||||||
|
"https://bd6wzfvy.mirror.aliyuncs.com", |
||||||
|
"https://hub-mirror.c.163.com", |
||||||
|
"https://mirror.baidubce.com" |
||||||
|
] |
||||||
|
} |
||||||
|
|
||||||
|
EOF |
||||||
|
sudo systemctl daemon-reload |
||||||
|
sudo systemctl restart docker |
||||||
|
``` |
Loading…
Reference in new issue