forked from donknap/dpanel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
executable file
·52 lines (52 loc) · 1.17 KB
/
Copy pathconfig.yaml
File metadata and controls
executable file
·52 lines (52 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
app:
name: ${APP_NAME-dpanel}
version: ${APP_VERSION}
env: ${APP_ENV-lite}
family: ${APP_FAMILY-ce}
server: ${APP_SERVER-http}
cors:
- http://localhost:8000
server:
http:
host: ${APP_SERVER_HOST-0.0.0.0}
port: ${APP_SERVER_PORT-8086}
socket: ${APP_SERVER_SOCKET}
prof:
host: 0.0.0.0
port: 8087
log:
default:
driver: stack
channels:
- file
- console
file:
driver: file
path: ${STORAGE_LOCAL_PATH}/logs/dpanel.log
level: ${DP_LOG_FILE_LEVEL-info}
console:
driver: console
level: ${DP_LOG_CONSOLE_LEVEL-debug}
database:
default:
driver: sqlite
user_name: ${DB_USERNAME-root}
password: ${DB_PASSWORD-123456}
db_name: ${STORAGE_LOCAL_PATH}/dpanel.db
charset: utf8mb4
prefix: ims_
options:
mode: ${DP_DB_MODE-rwc}
_journal_mode: ${DP_DB_JOURNAL-DELETE} # WAL
system:
baseurl: ${DP_SYSTEM_BASEURL}
storage:
local:
path: ${STORAGE_LOCAL_PATH}
permission:
default_username: __public__
rsa:
key: ${STORAGE_LOCAL_PATH}/cert/rsa/id_rsa
pub: ${STORAGE_LOCAL_PATH}/cert/rsa/id_rsa.pub
asusnw:
gui_theme: ${DP_GUI_THEME-dark} # rog_1 | rog_2 | dark | light