mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-30 05:11:25 +08:00
修改sql
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
|||||||
var Conf *Config
|
var Conf *Config
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
configFilePath := flag.String("e", "./config.yml", "配置文件路径,默认为可执行文件目录")
|
configFilePath := flag.String("c", "./config.yml", "配置文件路径,默认为可执行文件目录")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
// 获取启动参数中,配置文件的绝对路径
|
// 获取启动参数中,配置文件的绝对路径
|
||||||
path, _ := filepath.Abs(*configFilePath)
|
path, _ := filepath.Abs(*configFilePath)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ app:
|
|||||||
server:
|
server:
|
||||||
# debug release test
|
# debug release test
|
||||||
model: release
|
model: release
|
||||||
port: 7788
|
port: 8080
|
||||||
cors: true
|
cors: true
|
||||||
# 接口限流
|
# 接口限流
|
||||||
rate:
|
rate:
|
||||||
@@ -42,9 +42,9 @@ redis:
|
|||||||
port: 6379
|
port: 6379
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
host: 47.104.252.2:3306
|
host: 127.0.0.1:3306
|
||||||
username: pandax
|
username: root
|
||||||
password: pandax
|
password: 123456
|
||||||
db-name: pandax
|
db-name: pandax
|
||||||
config: charset=utf8&loc=Local&parseTime=true
|
config: charset=utf8&loc=Local&parseTime=true
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
## K3S
|
## K3S
|
||||||
1. 安装
|
1. 安装
|
||||||
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_VERSION="v1.18.20+k3s1" sh -
|
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_VERSION="v1.23.1+k3s1" sh -
|
||||||
2. 卸载
|
2. 卸载
|
||||||
sudo /usr/local/bin/k3s-uninstall.sh
|
sudo /usr/local/bin/k3s-uninstall.sh
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user