Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

Modify gitgnore

a624669980cc8b3e8f0694
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
+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
+
+
+