Compare commits

...
Author SHA1 Message Date
shamoon 9fe5d44223 Fix: isolate Tika/gotenberg stack networks 2026-11-30 16:06:28 -08:00
4 changed files with 45 additions and 0 deletions

No files matched your search

@@ -32,11 +32,15 @@ services:
broker:
image: docker.io/valkey/valkey:9-alpine
restart: unless-stopped
networks:
- backend
volumes:
- redisdata:/data
db:
image: docker.io/library/mariadb:12
restart: unless-stopped
networks:
- backend
volumes:
- dbdata:/var/lib/mysql
environment:
@@ -47,6 +51,9 @@ services:
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
networks:
- backend
- document-processing
depends_on:
- db
- broker
@@ -73,6 +80,8 @@ services:
gotenberg:
image: docker.io/gotenberg/gotenberg:8.38
restart: unless-stopped
networks:
- document-processing
# 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:
@@ -82,6 +91,11 @@ services:
tika:
image: docker.io/apache/tika:3.3.1.0
restart: unless-stopped
networks:
- document-processing
networks:
backend:
document-processing:
volumes:
data:
media:
@@ -32,11 +32,15 @@ services:
broker:
image: docker.io/valkey/valkey:9-alpine
restart: unless-stopped
networks:
- backend
volumes:
- redisdata:/data
db:
image: docker.io/library/postgres:18
restart: unless-stopped
networks:
- backend
volumes:
- pgdata:/var/lib/postgresql
environment:
@@ -46,6 +50,9 @@ services:
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
networks:
- backend
- document-processing
depends_on:
- db
- broker
@@ -69,6 +76,8 @@ services:
gotenberg:
image: docker.io/gotenberg/gotenberg:8.38
restart: unless-stopped
networks:
- document-processing
# 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:
@@ -78,6 +87,11 @@ services:
tika:
image: docker.io/apache/tika:3.3.1.0
restart: unless-stopped
networks:
- document-processing
networks:
backend:
document-processing:
volumes:
data:
media:
@@ -32,11 +32,16 @@ services:
broker:
image: docker.io/valkey/valkey:9-alpine
restart: unless-stopped
networks:
- backend
volumes:
- redisdata:/data
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
networks:
- backend
- document-processing
depends_on:
- broker
- gotenberg
@@ -58,6 +63,8 @@ services:
gotenberg:
image: docker.io/gotenberg/gotenberg:8.38
restart: unless-stopped
networks:
- document-processing
# 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:
@@ -67,6 +74,11 @@ services:
tika:
image: docker.io/apache/tika:3.3.1.0
restart: unless-stopped
networks:
- document-processing
networks:
backend:
document-processing:
volumes:
data:
media:
+5
View File
@@ -76,6 +76,11 @@ credentials you provided during the installation script.
If you want to enable optional support for Office and other documents, download a
file with `-tika` in the file name.
The `-tika` files place Tika and Gotenberg on a separate network from
the broker and database. The Paperless webserver connects to both networks.
If you add services to the Compose file, connect each one only to the
network it needs.
!!! tip
For new installations, it is recommended to use PostgreSQL as the