ansible-role-paperless-ngx/templates/env.paperless.conf.j2

33 lines
934 B
Plaintext
Raw Normal View History

2022-10-07 14:31:40 +02:00
PAPERLESS_DBHOST={{ paperless_db_host }}
PAPERLESS_DBSCHEMA={{ paperless_db_host }}
{% if paperless_db_host == 'postgres' %}
PAPERLESS_DBPORT=5432
{% else %}
2022-10-07 14:31:40 +02:00
PAPERLESS_DBPORT={{ paperless_db_port }}
{% endif %}
2022-10-07 14:31:40 +02:00
PAPERLESS_DBUSER={{ paperless_db_user }}
PAPERLESS_DBPASS={{ paperless_db_password }}
PAPERLESS_TIKA_ENABLED=1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT=http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT=http://tika:9998
PAPERLESS_REDIS=redis://broker:6379
{% if paperless_uid %}
USERMAP_UID={{ paperless_uid }}
PUID={{ paperless_uid }}
{% else %}
USERMAP_UID={{ ansible_effective_user_id }}
PUID={{ ansible_effective_user_id }}
{% endif %}
{% if paperless_gid %}
USERMAP_GID={{ paperless_gid }}
PGID={{ paperless_gid }}
{% else %}
USERMAP_GID={{ ansible_effective_group_id }}
PGID={{ ansible_effective_group_id }}
{% endif %}
PAPERLESS_ADMIN_USER={{ paperless_admin_user }}
PAPERLESS_ADMIN_PASSWORD={{ paperless_admin_password }}