Compare commits

...

12 Commits

5 changed files with 60 additions and 9 deletions

2
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,2 @@
github: equinoxel
patreon: laurivan

34
CHANGELOG.md Normal file
View File

@ -0,0 +1,34 @@
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [2.0.4](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/compare/v2.0.3...v2.0.4) (2023-10-18)
### Bug Fixes
* Import word documents. ([1c44ad7](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/commit/1c44ad7b6ac557ba2b34cc28e332cf349c16b32f))
### [2.0.3](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/compare/v2.0.2...v2.0.3) (2023-02-14)
### [2.0.2](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/compare/v2.0.1...v2.0.2) (2023-02-14)
### [2.0.1](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/compare/v2.0.0...v2.0.1) (2023-02-14)
### Bug Fixes
* Reset postgres folder rights. ([21022ad](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/commit/21022ad75def506fe87ff47f03ee74add986f9ee))
## [2.0.0](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/compare/v1.0.1...v2.0.0) (2023-02-13)
### ⚠ BREAKING CHANGES
* Update to gotenberg 7.8
### Bug Fixes
* Update to gotenberg 7.8 ([7200dba](https://git.laurivan.com/Dev/ansible-role-paperless-ngx/commit/7200dba94d07963489924025bcea00ff78a53c2a))
### 1.0.1 (2022-12-12)

View File

@ -5,9 +5,10 @@ paperless_admin_user: "admin"
paperless_admin_password: "changeme"
paperless_image_version_redis: "7"
paperless_image_version_gotenberg: "7.4"
paperless_image_version_gotenberg: "7.9"
paperless_image_version_tika: "latest"
paperless_image_version_paperless: "latest"
paperless_pull_images: "true"
paperless_setup_path: "~/paperless"

View File

@ -46,4 +46,5 @@
community.docker.docker_compose:
project_src: "{{ paperless_setup_path | expanduser }}"
build: false
pull: "{{ paperless_pull_images }}"
become: false

View File

@ -18,10 +18,23 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
{% if paperless_db_host == 'postgres' %}
{% if paperless_db_host == 'postgres' %}
# Postgres
#
postgres-init:
image: docker.io/library/postgres:{{ paperless_image_version_db }}
volumes:
- "{{ paperless_volume_db }}:/data"
entrypoint:
- sh
- -c
- |
chown -R 70:70 /data
postgres:
depends_on:
postgres-init:
condition: service_completed_successfully
image: docker.io/library/postgres:{{ paperless_image_version_db }}
env_file:
- "{{ paperless_setup_path | expanduser }}/env.db.conf"
@ -52,7 +65,9 @@ services:
image: "gotenberg/gotenberg:{{ paperless_image_version_gotenberg }}"
command:
- "gotenberg"
- "--chromium-disable-routes=true"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
- "--pdfengines-engines=pdftk,uno-pdfengine"
restart: unless-stopped
networks:
- paperless
@ -61,9 +76,6 @@ services:
#
tika:
image: "ghcr.io/paperless-ngx/tika:{{ paperless_image_version_tika }}"
command:
- "gotenberg"
# - "--chromium-disable-routes=true"
restart: unless-stopped
networks:
- paperless
@ -84,9 +96,10 @@ services:
- broker
- gotenberg
- tika
{% if paperless_db_host == 'postgres' %}
- postgres
{% endif %}
{% if paperless_db_host == 'postgres' %}
- postgres-init
- postgres
{% endif %}
ports:
- "{{ paperless_port }}:8000"
volumes: