mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-22 19:39:31 +08:00
35 lines
556 B
Plaintext
35 lines
556 B
Plaintext
debug: true
|
|
server:
|
|
addr: ":8888"
|
|
base_url: "http://localhost:8888"
|
|
|
|
database:
|
|
master: "postgres://monkeycode:monkeycode@localhost:5432/monkeycode?sslmode=disable"
|
|
slave: ""
|
|
max_open_conns: 100
|
|
max_idle_conns: 50
|
|
conn_max_lifetime: 30
|
|
|
|
redis:
|
|
host: "localhost"
|
|
port: 6379
|
|
pass: ""
|
|
db: 0
|
|
|
|
session:
|
|
secret: "change-me-to-a-random-32-byte-key"
|
|
expire: 86400
|
|
|
|
smtp:
|
|
host: "smtp.example.com"
|
|
port: 587
|
|
username: ""
|
|
password: ""
|
|
from: "noreply@example.com"
|
|
|
|
root_path: "/app"
|
|
admin_token: "change-me"
|
|
|
|
logger:
|
|
level: "info"
|