mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-12-01 00:55:22 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fe5d44223 |
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:
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
"@ng-select/ng-select": "~24.2.1",
|
||||
"@ngneat/dirty-check-forms": "^3.0.3",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"bootstrap": "^5.3.9",
|
||||
"bootstrap": "^5.3.8",
|
||||
"bootstrap-icons": "^1.13.2",
|
||||
"file-saver": "^2.0.5",
|
||||
"lodash-es": "^4.18.1",
|
||||
|
||||
Generated
+5
-5
@@ -49,8 +49,8 @@ importers:
|
||||
specifier: ^2.11.8
|
||||
version: 2.11.8
|
||||
bootstrap:
|
||||
specifier: ^5.3.9
|
||||
version: 5.3.9(@popperjs/core@2.11.8)
|
||||
specifier: ^5.3.8
|
||||
version: 5.3.8(@popperjs/core@2.11.8)
|
||||
bootstrap-icons:
|
||||
specifier: ^1.13.2
|
||||
version: 1.13.2
|
||||
@@ -2394,8 +2394,8 @@ packages:
|
||||
bootstrap-icons@1.13.2:
|
||||
resolution: {integrity: sha512-fAU1Ly3dH7hwRg+CB8EZ0Vl0fF80zgXHeUVJyfUOKzoURr+TbwISbCW5tKUoQLERaWYG2emTCybcPbD96hdD1A==}
|
||||
|
||||
bootstrap@5.3.9:
|
||||
resolution: {integrity: sha512-20cU0rcfw8WdxtVbmfU+xT2EjvVTw9Ror/h1Qvd7DXCujRg8OO9mdBCsmTHdJFf3BuadmBNJtgIuUXsBqSkk/w==}
|
||||
bootstrap@5.3.8:
|
||||
resolution: {integrity: sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==}
|
||||
peerDependencies:
|
||||
'@popperjs/core': ^2.11.8
|
||||
|
||||
@@ -6409,7 +6409,7 @@ snapshots:
|
||||
|
||||
bootstrap-icons@1.13.2: {}
|
||||
|
||||
bootstrap@5.3.9(@popperjs/core@2.11.8):
|
||||
bootstrap@5.3.8(@popperjs/core@2.11.8):
|
||||
dependencies:
|
||||
'@popperjs/core': 2.11.8
|
||||
|
||||
|
||||
@@ -671,8 +671,8 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
||||
content="things i paid for in august",
|
||||
pk=2,
|
||||
checksum="B",
|
||||
# More than 1 month ago, in the search timezone
|
||||
added=timezone.localtime() - relativedelta(months=1, days=7),
|
||||
# 1 month, 1 day ago
|
||||
added=timezone.now() - relativedelta(months=1, days=1),
|
||||
)
|
||||
d3 = Document.objects.create(
|
||||
title="bank statement 3",
|
||||
@@ -706,10 +706,6 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
||||
@override_settings(
|
||||
TIME_ZONE="America/Denver",
|
||||
)
|
||||
@time_machine.travel(
|
||||
datetime.datetime(2026, 12, 1, 0, 1, tzinfo=datetime.UTC),
|
||||
tick=False,
|
||||
)
|
||||
def test_search_added_in_last_month_timezone_behind(self) -> None:
|
||||
"""
|
||||
GIVEN:
|
||||
@@ -733,8 +729,8 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
||||
content="things i paid for in august",
|
||||
pk=2,
|
||||
checksum="B",
|
||||
# More than 1 month ago, in the search timezone
|
||||
added=timezone.localtime() - relativedelta(months=1, days=7),
|
||||
# 1 month, 1 day ago
|
||||
added=timezone.now() - relativedelta(months=1, days=1),
|
||||
)
|
||||
d3 = Document.objects.create(
|
||||
title="bank statement 3",
|
||||
|
||||
Reference in new issue
Block a user