database:
  type: postgres
  host: shared-postgres
  port: 5432
  user: donetick
  password: CHANGE_ME
  name: donetick
  migration: true
jwt:
  secret: CHANGE_ME
  session_time: 168h
  max_refresh: 168h
server:
  port: 2021
  serve_frontend: true
  public_host: https://donetick.paccoco.com
  cors_allow_origins:
    - https://donetick.paccoco.com
    - https://localhost
    - capacitor://localhost
    - http://localhost
    - http://localhost:8100
oauth2:
  name: Authentik
  client_id: donetick
  client_secret: CHANGE_ME
  redirect_url: https://donetick.paccoco.com/auth/oauth2
  scopes:
    - openid
    - profile
    - email
  auth_url: https://authentik.paccoco.com/application/o/authorize/
  token_url: https://authentik.paccoco.com/application/o/token/
  user_info_url: https://authentik.paccoco.com/application/o/userinfo/
  admin_groups:
    - donetick-admins
  manager_groups:
    - donetick-managers
realtime:
  enabled: true
  sse_enabled: true
  websocket_enabled: false
  allowed_origins:
    - https://donetick.paccoco.com
    - https://localhost
    - capacitor://localhost
    - http://localhost
    - http://localhost:8100
