From cc8b3e8f069414ae5a36eebf0c65eb58c0d6b319 Mon Sep 17 00:00:00 2001 From: a624669980 Date: Thu, 30 Sep 2021 18:42:29 +0800 Subject: [PATCH] Modify gitgnore --- .gitignore | 1 + conf/conf.ini.sample | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 conf/conf.ini.sample diff --git a/.gitignore b/.gitignore index 8a1b687..e5cb624 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ gen /out/ /db/ /docs/ +/conf/conf.ini diff --git a/conf/conf.ini.sample b/conf/conf.ini.sample new file mode 100644 index 0000000..3e35e33 --- /dev/null +++ b/conf/conf.ini.sample @@ -0,0 +1,48 @@ +[app] +PAGE_SIZE = 10 +RuntimeRootPath = runtime/ +LogSavePath = /casaOS/logs/server/ +LogSaveName = log +LogFileExt = log +DateStrFormat = 20060102 +DateTimeFormat = 2006-01-02 15:04:05 +TimeFormat = 15:04:05 +DateFormat = 2006-01-02 +ProjectPath = /casaOS/server + + +[server] +HttpPort = 8089 +RunMode = release +ServerApi = https://api.casaos.zimaboard.com + +[user] +UserName = admin +PWD = zimaboard +Email = user@gmail.com +Description = description +Token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImVyZXJlIiwicGFzc3dvcmQiOiJhZHNmZGYiLCJleHAiOjE2MjQwMDU0ODEsImlzcyI6Imdpbi1ibG9nIn0.JNsCccZuFCwlSMLJg62iOIB2xymk_k7xGa11xhZ07bc + +[zerotier] +UserName = user +PWD = pwd +Token = yBKYyavr2RdFAIVN7iTpzlsB1o6CqTgm + +[redis] +Host = 127.0.0.1:6379 +Password = +MaxIdle = 30 +MaxActive = 30 +IdleTimeout = 200 + +[system] +AutoUpdate = true +SearchSwitch = true +WidgetsSwitch = false +ShortcutsSwitch = true +SearchEngine = google +Background = http://google.com +BackgroundType = 1 + + +