2023-11-20 20:14:33 -08:00
|
|
|
# Docker Compose file for running paperless testing with actual gotenberg
|
2022-11-29 13:59:48 -08:00
|
|
|
# and Tika containers for a more end to end test of the Tika related functionality
|
2024-01-08 11:58:41 -05:00
|
|
|
# Can be used locally or by the CI to start the necessary containers with the
|
2022-11-29 13:59:48 -08:00
|
|
|
# correct networking for the tests
|
|
|
|
|
|
|
|
|
|
version: "3.7"
|
|
|
|
|
services:
|
|
|
|
|
gotenberg:
|
2023-12-05 07:36:25 -08:00
|
|
|
image: docker.io/gotenberg/gotenberg:7.10
|
2022-11-29 13:59:48 -08:00
|
|
|
hostname: gotenberg
|
|
|
|
|
container_name: gotenberg
|
|
|
|
|
network_mode: host
|
|
|
|
|
restart: unless-stopped
|
2022-11-30 10:16:39 +01:00
|
|
|
# The gotenberg chromium route is used to convert .eml files. We do not
|
|
|
|
|
# want to allow external content like tracking pixels or even javascript.
|
2022-11-29 13:59:48 -08:00
|
|
|
command:
|
|
|
|
|
- "gotenberg"
|
2022-11-30 10:16:39 +01:00
|
|
|
- "--chromium-disable-javascript=true"
|
|
|
|
|
- "--chromium-allow-list=file:///tmp/.*"
|
2023-12-05 07:36:25 -08:00
|
|
|
- "--log-level=warn"
|
|
|
|
|
- "--log-format=text"
|
2022-11-29 13:59:48 -08:00
|
|
|
tika:
|
|
|
|
|
image: ghcr.io/paperless-ngx/tika:latest
|
|
|
|
|
hostname: tika
|
|
|
|
|
container_name: tika
|
|
|
|
|
network_mode: host
|
|
|
|
|
restart: unless-stopped
|