mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
cleaned up and updated paperless
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
# Paperless
|
||||
|
||||
proxy port: 8000
|
||||
## Project Details
|
||||
|
||||
- **Project Repository:** [Link](https://github.com/paperless-ngx/paperless-ngx)
|
||||
- **Container Image:** [Github](https://github.com/paperless-ngx/paperless-ngx)
|
||||
- **Compose Example:** [Compose](https://github.com/paperless-ngx/paperless-ngx/blob/main/docker/compose/docker-compose.mariadb-tika.yml)
|
||||
- **Documentation:** [Docs](https://docs.paperless-ngx.com/)
|
||||
- **Reverse Proxy Port:** `8000`
|
||||
|
||||
## First Run
|
||||
|
||||
@@ -10,6 +10,8 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${VOL_PATH}/paperless/redis:/data
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
paperless-db:
|
||||
image: docker.io/library/mariadb:12
|
||||
@@ -22,6 +24,8 @@ services:
|
||||
MARIADB_USER: ${PAPERLESS_MARIADB_USER:-paperless}
|
||||
MARIADB_PASSWORD: ${PAPERLESS_MARIADB_PASSWORD:-paperless}
|
||||
MARIADB_ROOT_PASSWORD: ${PAPERLESS_MARIADB_ROOT_PASSWORD:-paperless}
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
paperless-webserver:
|
||||
image: ${PAPERLESS_IMAGE:-ghcr.io/paperless-ngx/paperless-ngx:latest}
|
||||
@@ -41,16 +45,20 @@ services:
|
||||
PAPERLESS_TIKA_ENABLED: 1
|
||||
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://paperless-gotenberg:3000
|
||||
PAPERLESS_TIKA_ENDPOINT: http://paperless-tika:9998
|
||||
PAPERLESS_TIME_ZONE: ${TZ:-America/Vancouver}
|
||||
PAPERLESS_SECRET_KEY: ${PAPERLESS_SECRET_KEY:-changeme}
|
||||
PAPERLESS_OCR_LANGUAGE: ${PAPERLESS_OCR_LANGUAGE:-eng}
|
||||
#PAPERLESS_URL: ${PAPERLESS_URL:-http://localhost}
|
||||
PAPERLESS_URL: ${PAPERLESS_URL:-http://localhost}
|
||||
PAPERLESS_CONSUMER_DELETE_DUPLICATES: ${PAPERLESS_CONSUMER_DELETE_DUPLICATES:-0}
|
||||
PAPERLESS_CONSUMER_RECURSIVE: 1
|
||||
#USERMAP_GID: 1000
|
||||
#USERMAP_UID: 1000
|
||||
ports:
|
||||
- ${PAPERLESS_PORT:-8000}:8000
|
||||
networks:
|
||||
- paperless_internal
|
||||
- proxy
|
||||
|
||||
paperless-gotenberg:
|
||||
image: docker.io/gotenberg/gotenberg:8.22
|
||||
image: docker.io/gotenberg/gotenberg:8.25
|
||||
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.
|
||||
@@ -58,7 +66,17 @@ services:
|
||||
- "gotenberg"
|
||||
- "--chromium-disable-javascript=true"
|
||||
- "--chromium-allow-list=file:///tmp/.*"
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
paperless-tika:
|
||||
image: docker.io/apache/tika:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
paperless:
|
||||
driver: bridge
|
||||
@@ -3,9 +3,8 @@
|
||||
# See http://docs.paperless-ngx.com/configuration/ for all available options.
|
||||
###############################################################################
|
||||
|
||||
## Global
|
||||
VOL_PATH=./data
|
||||
TZ=America/Vancouver
|
||||
VOL_PATH=./data
|
||||
|
||||
PAPERLESS_IMAGE=ghcr.io/paperless-ngx/paperless-ngx:latest
|
||||
PAPERLESS_MARIADB_HOST=paperless-db
|
||||
@@ -17,3 +16,4 @@ PAPERLESS_SECRET_KEY=changeme
|
||||
PAPERLESS_OCR_LANGUAGE=eng
|
||||
PAPERLESS_URL=http://localhost
|
||||
PAPERLESS_CONSUMER_DELETE_DUPLICATES=0
|
||||
PAPERLESS_PORT=8000
|
||||
Reference in New Issue
Block a user