add unittest for external images

This commit is contained in:
phail committed 2022-10-22 00:44:32 +02:00
1 parent 09b5bd17f2
commit f1f5227ccd
7 files changed
+52 -6

No files matched your search

@@ -80,6 +80,13 @@ services:
image: docker.io/gotenberg/gotenberg:7.4
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:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika:
image: ghcr.io/paperless-ngx/tika:latest
restart: unless-stopped
@@ -68,6 +68,13 @@ services:
image: docker.io/gotenberg/gotenberg:7.4
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:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika:
image: ghcr.io/paperless-ngx/tika:latest
restart: unless-stopped