From 1590a8bb32e6e85a242c603cd6fc2c18bbb98c1b Mon Sep 17 00:00:00 2001 From: hhf Date: Tue, 3 Dec 2024 14:55:55 +0530 Subject: [PATCH] Add donetick/selfhosted.yaml --- donetick/selfhosted.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 donetick/selfhosted.yaml diff --git a/donetick/selfhosted.yaml b/donetick/selfhosted.yaml new file mode 100644 index 0000000..fbd31c4 --- /dev/null +++ b/donetick/selfhosted.yaml @@ -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" \ No newline at end of file