Document DoneTick Pangolin and Authentik config
This commit is contained in:
46
home/donetick/selfhosted.yaml.example
Normal file
46
home/donetick/selfhosted.yaml.example
Normal file
@@ -0,0 +1,46 @@
|
||||
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
|
||||
- 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
|
||||
- capacitor://localhost
|
||||
- http://localhost
|
||||
- http://localhost:8100
|
||||
Reference in New Issue
Block a user