-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.dist.yml
More file actions
30 lines (27 loc) · 818 Bytes
/
config.dist.yml
File metadata and controls
30 lines (27 loc) · 818 Bytes
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
# App configs
app:
# App name
name: ${PENGUIN_NAME:-penguin}
# Env mode (dev or prod)
mode: ${PENGUIN_MODE:-dev}
# HTTP port
port: ${PENGUIN_PORT:-8000}
# Hostname
hostname: ${PENGUIN_HOSTNAME:-127.0.0.1}
# TLS configs
tls:
status: ${PENGUIN_TLS_STATUS:-off}
crt_path: ${PENGUIN_TLS_PEMPATH:-cert/server.crt}
key_path: ${PENGUIN_TLS_KEYPATH:-cert/server.key}
# Global timeout
timeout: ${PENGUIN_TIMEOUT:-50}
# API Key
api_key: ${PENGUIN_API_KEY:-xxxx-xxxx-xxxx-xxxx}
# Log configs
log:
# Log level, it can be debug, info, warn, error, panic, fatal
level: ${PENGUIN_LOG_LEVEL:-debug}
# Output can be stdout or abs path to log file /var/logs/penguin.log
output: ${PENGUIN_LOG_OUTPUT:-stdout}
# Format can be json
format: ${PENGUIN_LOG_FORMAT:-json}