mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
38 lines
1.1 KiB
Nim
38 lines
1.1 KiB
Nim
const defaultConf* =
|
|
"""
|
|
; Default Glimpse server configuration.
|
|
|
|
[Server]
|
|
; IP address glimpse will use.
|
|
#bindAddr = "0.0.0.0"
|
|
; Port that glimpse will use.
|
|
#port = "8080"
|
|
#reusePort = "true"
|
|
; Currently unused.
|
|
#staticDir = "./public/"
|
|
; What URL path glimpse will run under. If the value of appName is set
|
|
; to '<value>', then glimpse will be accessiable under 'http:<IP>:<PORT>/value/...'.
|
|
#appName = ""
|
|
|
|
[Database]
|
|
; Currently only PostgreSQL is supported but Sqlite may be added in the future.
|
|
#dbType = postgresql
|
|
; IP address or domain of the database.
|
|
#dbHost = "0.0.0.0"
|
|
; Database user.
|
|
#dbUser = "postgres"
|
|
; Database Password.
|
|
#dbPassword = "postgresql"
|
|
; I have no idea what this is for.
|
|
#dbDatabase = ""
|
|
|
|
[General]
|
|
; This is the path to the directory which contains all users' uploaded files.
|
|
#uploadDir = "./uploads/"
|
|
; Allows creating and logging to the log file. If this is on, it forces `enableErrorLogs` on as well.
|
|
#enableLogs = "true"
|
|
; Includes debugging messages in logs.
|
|
#enableDebugLogs = "true"
|
|
; Same as `enableLogs` but only for error or fatal messages. Forced on, if `enableLogs` is on.
|
|
#enableErrorLogs = "true"
|
|
"""
|