70 lines
1.8 KiB
YAML
70 lines
1.8 KiB
YAML
#version: "3.9"
|
|
services:
|
|
redis:
|
|
image: redis
|
|
restart: unless-stopped
|
|
container_name: PaperlessNGX-REDIS
|
|
volumes:
|
|
- ./paperless/redis:/data:rw
|
|
|
|
db:
|
|
image: postgres:16
|
|
restart: unless-stopped
|
|
container_name: PaperlessNGX-DB
|
|
volumes:
|
|
- ./paperless/db:/var/lib/postgresql/data:rw
|
|
environment:
|
|
POSTGRES_DB: paperless
|
|
POSTGRES_USER: paperless
|
|
POSTGRES_PASSWORD: paperless
|
|
|
|
webserver:
|
|
image: ghcr.io/paperless-ngx/paperless-ngx:2.11
|
|
restart: unless-stopped
|
|
container_name: PaperlessNGX
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
- gotenberg
|
|
- tika
|
|
ports:
|
|
- 8777:8000
|
|
volumes:
|
|
- ./paperless/data:/usr/src/paperless/data
|
|
- ./paperless/media:/usr/src/paperless/media
|
|
- ./paperless/export:/usr/src/paperless/export
|
|
- ./paperless/consume:/usr/src/paperless/consume
|
|
environment:
|
|
PAPERLESS_REDIS: redis://redis:6379
|
|
PAPERLESS_DBHOST: db
|
|
USERMAP_UID: 1000
|
|
USERMAP_GID: 1000
|
|
PAPERLESS_TIME_ZONE: Europe/Paris
|
|
PAPERLESS_ADMIN_USER: gilles
|
|
PAPERLESS_ADMIN_PASSWORD: Misstibet5*
|
|
PAPERLESS_URL: http://10.0.1.231:8777
|
|
PAPERLESS_CSRF_TRUSTED_ORIGINS: http://10.0.1.231:8777
|
|
PAPERLESS_OCR_LANGUAGE: fra
|
|
PAPERLESS_TIKA_ENABLED: 1
|
|
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
|
|
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
|
|
|
|
gotenberg:
|
|
image: docker.io/gotenberg/gotenberg
|
|
restart: unless-stopped
|
|
container_name: PaperlessNGX-GOTENBERG
|
|
ports:
|
|
- 3520:3000
|
|
command:
|
|
- "gotenberg"
|
|
- "--chromium-disable-javascript=true"
|
|
- "--chromium-allow-list=file:///tmp/.*"
|
|
|
|
|
|
tika:
|
|
image: ghcr.io/paperless-ngx/tika
|
|
container_name: PaperlessNGX-TIKA
|
|
ports:
|
|
- 9998:9998
|
|
restart: always
|