chore: Add option to pull images and cleanup.

This commit is contained in:
Laur Ivan 2023-02-14 01:28:39 +01:00
parent 590a4faf57
commit 3078f92193
3 changed files with 6 additions and 4 deletions

View File

@ -8,6 +8,7 @@ paperless_image_version_redis: "7"
paperless_image_version_gotenberg: "7.8"
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,7 +18,7 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
{% if paperless_db_host == 'postgres' %}
{% if paperless_db_host == 'postgres' %}
# Postgres
#
postgres-init:
@ -95,9 +95,9 @@ services:
- broker
- gotenberg
- tika
{% if paperless_db_host == 'postgres' %}
- postgres
{% endif %}
{% if paperless_db_host == 'postgres' %}
- postgres
{% endif %}
ports:
- "{{ paperless_port }}:8000"
volumes: