chore: Add option to pull images and cleanup.
This commit is contained in:
parent
590a4faf57
commit
3078f92193
@ -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"
|
||||
|
||||
|
@ -46,4 +46,5 @@
|
||||
community.docker.docker_compose:
|
||||
project_src: "{{ paperless_setup_path | expanduser }}"
|
||||
build: false
|
||||
pull: "{{ paperless_pull_images }}"
|
||||
become: false
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user