Add donetick/selfhosted.yaml
This commit is contained in:
parent
3c84fd5ad1
commit
1590a8bb32
1 changed files with 36 additions and 0 deletions
36
donetick/selfhosted.yaml
Normal file
36
donetick/selfhosted.yaml
Normal file
|
@ -0,0 +1,36 @@
|
|||
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