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