From 820221a4617ea4d11a43cac323b0355ccde23cda Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 7 Nov 2024 23:03:46 +0100 Subject: [PATCH] reduce stop time for paperless --- playbooks/apps/files/paperless-ngx/docker-compose.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/apps/files/paperless-ngx/docker-compose.yaml b/playbooks/apps/files/paperless-ngx/docker-compose.yaml index d5877c9..5aa5e2c 100644 --- a/playbooks/apps/files/paperless-ngx/docker-compose.yaml +++ b/playbooks/apps/files/paperless-ngx/docker-compose.yaml @@ -63,6 +63,8 @@ services: - ./export:/usr/src/paperless/export - ./consume:/usr/src/paperless/consume env_file: docker-compose.env + init: true + tty: true environment: PAPERLESS_REDIS: redis://broker:6379 PAPERLESS_DBHOST: db @@ -73,6 +75,8 @@ services: gotenberg: image: docker.io/gotenberg/gotenberg:8.7 restart: unless-stopped + init: true + tty: true # The gotenberg chromium route is used to convert .eml files. We do not # want to allow external content like tracking pixels or even javascript. @@ -89,6 +93,8 @@ services: restart: unless-stopped env_file: ftp.env image: garethflowers/ftp-server + init: true + tty: true ports: - '7020-7021:20-21/tcp' # - '40000-40009:40000-40009/tcp' # Only needed for passive mode