adapt compose file for eml parsing

This commit is contained in:
phail 2022-11-30 10:16:39 +01:00
parent 47c88a6bdd
commit fe2db4dbf7
2 changed files with 8 additions and 2 deletions

@ -11,9 +11,12 @@ services:
container_name: gotenberg container_name: gotenberg
network_mode: host network_mode: host
restart: unless-stopped restart: unless-stopped
# The gotenberg chromium route is used to convert .eml files. We do not
# want to allow external content like tracking pixels or even javascript.
command: command:
- "gotenberg" - "gotenberg"
- "--chromium-disable-routes=true" - "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika: tika:
image: ghcr.io/paperless-ngx/tika:latest image: ghcr.io/paperless-ngx/tika:latest
hostname: tika hostname: tika

@ -87,9 +87,12 @@ services:
gotenberg: gotenberg:
image: docker.io/gotenberg/gotenberg:7.6 image: docker.io/gotenberg/gotenberg:7.6
restart: unless-stopped restart: unless-stopped
# The gotenberg chromium route is used to convert .eml files. We do not
# want to allow external content like tracking pixels or even javascript.
command: command:
- "gotenberg" - "gotenberg"
- "--chromium-disable-routes=true" - "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika: tika:
image: ghcr.io/paperless-ngx/tika:latest image: ghcr.io/paperless-ngx/tika:latest