Last active 1737972049

lerone revised this gist 1737972049. Go to revision

1 file changed, 9 insertions

.env(file created)

@@ -0,0 +1,9 @@
1 + PAPERLESS_OCR_LANGUAGES = eng
2 + PAPERLESS_OCR_LANGUAGE = deu
3 + PAPERLESS_TIME_ZONE = Europe/Berlin
4 + PAPERLESS_SECRET_KEY =
5 + PAPERLESS_URL =
6 + USERMAP_UID = 0
7 + USERMAP_GID = 0
8 + DEBUG = TRUE
9 + PAPERLESS_CSRF_TRUSTED_ORIGINS =

lerone revised this gist 1737971642. Go to revision

No changes

lerone revised this gist 1737971599. Go to revision

1 file changed, 75 insertions

docker-compose.yaml(file created)

@@ -0,0 +1,75 @@
1 + services:
2 + broker:
3 + image: redis:7
4 + restart: unless-stopped
5 + env_file:
6 + - stack.env
7 + volumes:
8 + - redisdata:/data
9 +
10 + db:
11 + image: postgres:16
12 + restart: unless-stopped
13 + volumes:
14 + - pgdata:/var/lib/postgresql/data
15 + env_file:
16 + - stack.env
17 + environment:
18 + POSTGRES_DB: xxx
19 + POSTGRES_USER: xxx
20 + POSTGRES_PASSWORD: xxx
21 +
22 + webserver:
23 + image: ghcr.io/paperless-ngx/paperless-ngx:latest
24 + restart: unless-stopped
25 + ports:
26 + - "6006:8000"
27 + volumes:
28 + - /mnt/nas/data:/usr/src/paperless/data
29 + - /mnt/nas/media:/usr/src/paperless/media
30 + - /mnt/nas/export:/usr/src/paperless/export
31 + - /mnt/nas/consume:/usr/src/paperless/consume
32 + env_file:
33 + - stack.env
34 + environment:
35 + PAPERLESS_REDIS: redis://broker:6379
36 + PAPERLESS_DBHOST: db
37 + USERMAP_UID: 0
38 + USERMAP_GID: 0
39 + PAPERLESS_TIKA_ENABLED: 1
40 + PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
41 + PAPERLESS_TIKA_ENDPOINT: http://tika:9998
42 + depends_on:
43 + - db
44 + - broker
45 + - gotenberg
46 + - tika
47 + - paperless-ai
48 +
49 + gotenberg:
50 + image: docker.io/gotenberg/gotenberg:8.7
51 + restart: unless-stopped
52 +
53 + command:
54 + - "gotenberg"
55 + - "--chromium-disable-javascript=true"
56 + - "--chromium-allow-list=file:///tmp/.*"
57 +
58 + tika:
59 + image: docker.io/apache/tika:latest
60 + restart: unless-stopped
61 +
62 + paperless-ai:
63 + image: clusterzx/paperless-ai
64 + container_name: paperless-ai
65 + network_mode: bridge
66 + volumes:
67 + - paperless-ai_data:/app/data
68 + ports:
69 + - "6007:3000"
70 + restart: unless-stopped
71 +
72 + volumes:
73 + pgdata:
74 + redisdata:
75 + paperless-ai_data:
Newer Older