be7f215380
deployment notes: - use ezbookkeeping for budget - compare to actual budget - it has no RBAC and sharing budget, try to sure (we-promise/sure)
1.0 KiB
1.0 KiB
ezBookkeeping
Prerequisite
Create database
- Create the password with
openssl rand -base64 32- Save this value in secrets.yaml in
postgresql.password.ezbookkeeping - Access infra server to create paperless_db with
podman exec -it postgresql psql -U postgres
- Save this value in secrets.yaml in
CREATE USER ezbookkeeping WITH PASSWORD 'postgresql.password.ezbookkeeping';
CREATE DATABASE ezbookkeeping_db;
ALTER DATABASE ezbookkeeping_db OWNER TO ezbookkeeping;
Create oidc secret and hash
- Create the secret with
openssl rand -base64 32 - access to auth vm
podman exec -it authelia shauthelia crypto hash generate pbkdf2 --password 'ezbookkeeping.oidc.secret'
- Save this value in secrets.yaml in
ezbookkeeping.oidc.secretandezbookkeeping.oidc.hash
Add postgresql dump backup list
- name: Set connected services list
ansible.builtin.set_fact:
connected_services:
- ...
- "ezbookkeeping"