Update donetick/ local.yaml
This commit is contained in:
parent
8333f1780d
commit
aa811b37de
2 changed files with 31 additions and 36 deletions
31
donetick/ local.yaml
Normal file
31
donetick/ local.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: "local"
|
||||||
|
is_done_tick_dot_com: false
|
||||||
|
telegram:
|
||||||
|
token: ""
|
||||||
|
database:
|
||||||
|
type: "sqlite"
|
||||||
|
migration: true
|
||||||
|
jwt:
|
||||||
|
secret: "secret"
|
||||||
|
session_time: 168h
|
||||||
|
max_refresh: 168h
|
||||||
|
server:
|
||||||
|
port: 2021
|
||||||
|
read_timeout: 2s
|
||||||
|
write_timeout: 1s
|
||||||
|
rate_period: 60s
|
||||||
|
rate_limit: 300
|
||||||
|
cors_allow_origins:
|
||||||
|
- "http://localhost:5173"
|
||||||
|
- "http://localhost:7926"
|
||||||
|
serve_frontend: false
|
||||||
|
scheduler_jobs:
|
||||||
|
due_job: 30m
|
||||||
|
overdue_job: 3h
|
||||||
|
pre_due_job: 3h
|
||||||
|
email:
|
||||||
|
host: ""
|
||||||
|
port: ""
|
||||||
|
key: ""
|
||||||
|
email: ""
|
||||||
|
appHost: ""
|
|
@ -1,36 +0,0 @@
|
||||||
server:
|
|
||||||
port: 8000
|
|
||||||
host: "0.0.0.0"
|
|
||||||
cors:
|
|
||||||
origins: ["*"]
|
|
||||||
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
|
||||||
headers: ["*"]
|
|
||||||
credentials: true
|
|
||||||
|
|
||||||
database:
|
|
||||||
type: "sqlite"
|
|
||||||
sqlite:
|
|
||||||
path: "/usr/src/app/data/donetick.db"
|
|
||||||
|
|
||||||
auth:
|
|
||||||
jwt:
|
|
||||||
secret: "your-secret-key-here" # Change this to a secure random string
|
|
||||||
expiration: 168h # 7 days
|
|
||||||
|
|
||||||
email:
|
|
||||||
enabled: false
|
|
||||||
smtp:
|
|
||||||
host: ""
|
|
||||||
port: 587
|
|
||||||
username: ""
|
|
||||||
password: ""
|
|
||||||
from: ""
|
|
||||||
|
|
||||||
logging:
|
|
||||||
level: "info"
|
|
||||||
format: "text" # or "json"
|
|
||||||
|
|
||||||
storage:
|
|
||||||
type: "local"
|
|
||||||
local:
|
|
||||||
path: "/config"
|
|
Loading…
Reference in a new issue