From a88946bb7fcfc1632661eafc84eac0aa1c2573c3 Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Wed, 24 Jul 2024 01:07:11 -0400 Subject: Update server configuration to disable serving frontend --- config/selfhosted.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 config/selfhosted.yaml (limited to 'config/selfhosted.yaml') diff --git a/config/selfhosted.yaml b/config/selfhosted.yaml new file mode 100644 index 0000000..09e4cb2 --- /dev/null +++ b/config/selfhosted.yaml @@ -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: true +scheduler_jobs: + due_job: 30m + overdue_job: 3h + pre_due_job: 3h +email: + host: + port: + key: + email: + appHost: -- cgit