infrastructure/roles/vikunja/vars/main.yml

59 lines
1.5 KiB
YAML
Raw Normal View History

2024-09-26 22:02:36 +00:00
---
vikunja_svc:
domain: todo.serguzim.me
port: 3456
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
user: "{{ opentofu.postgresql_data.vikunja.user }}"
pass: "{{ opentofu.postgresql_data.vikunja.pass }}"
database: "{{ opentofu.postgresql_data.vikunja.database }}"
2024-09-26 22:02:36 +00:00
vikunja_yml:
service:
JWTSecret: "{{ vault_vikunja.jwt_secret }}"
frontendurl: https://{{ svc.domain }}
enableregistration: false
timezone: "{{ timezone }}"
database:
type: postgres
sslmode: verify-full
host: "{{ svc.db.host }}"
database: "{{ svc.db.database }}"
user: "{{ svc.db.user }}"
password: "{{ svc.db.pass }}"
mailer:
enabled: true
host: "{{ mailer.host }}"
port: "{{ mailer.port }}"
username: "{{ vault_vikunja.mailer.user }}"
password: "{{ vault_vikunja.mailer.pass }}"
fromemail: "{{ vault_vikunja.mailer.user }}"
auth:
local:
enabled: false
openid:
enabled: true
providers:
- name: auth.serguzim.me
2024-10-09 00:29:08 +00:00
authurl: "{{ opentofu.authentik_data.vikunja.base_url }}/"
logouturl: "{{ (opentofu.authentik_data.vikunja.base_url, 'end-session') | path_join }}"
clientid: "{{ opentofu.authentik_data.vikunja.client_id }}"
clientsecret: "{{ opentofu.authentik_data.vikunja.client_secret }}"
2024-09-26 22:02:36 +00:00
metrics:
enabled: true
vikunja_compose:
watchtower: true
image: vikunja/vikunja
volumes:
- data:/app/vikunja/files
- ./config.yml:/app/vikunja/config.yml
file:
volumes:
data: