You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.1 KiB
78 lines
2.1 KiB
services:
|
|
redis:
|
|
image: redis:6.2
|
|
container_name: paperless-redis
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./redis:/data
|
|
|
|
db:
|
|
image: postgres:14
|
|
container_name: paperless-db
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./db:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: $PGDB
|
|
POSTGRES_USER: $PGUSER
|
|
POSTGRES_PASSWORD: $PGPW
|
|
|
|
webserver:
|
|
image: ghcr.io/paperless-ngx/paperless-ngx:latest
|
|
container_name: paperlessngx
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
- gotenberg
|
|
- tika
|
|
ports:
|
|
- 8777:8000
|
|
volumes:
|
|
- ./app/data:/usr/src/paperless/data
|
|
- ./app/media:/usr/src/paperless/media
|
|
- ./app/export:/usr/src/paperless/export
|
|
- ./app/consume:/usr/src/paperless/consume
|
|
environment:
|
|
PAPERLESS_REDIS: redis://redis:6379
|
|
PAPERLESS_DBHOST: db
|
|
USERMAP_UID: $PUID
|
|
USERMAP_GID: $PGID
|
|
PAPERLESS_TIME_ZONE: $TZ
|
|
PAPERLESS_ADMIN_USER: $ADMINUSER
|
|
PAPERLESS_ADMIN_PASSWORD: $ADMINPW
|
|
PAPERLESS_OCR_LANGUAGE: deu+eng #change as necessary, read the documentation for more info
|
|
PAPERLESS_TIKA_ENABLED: 1
|
|
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 #don't change
|
|
PAPERLESS_TIKA_ENDPOINT: http://tika:9998 #don't change
|
|
networks:
|
|
- default
|
|
#uncomment the following line and change the network name as necessary to add the webserver to your reverse proxy network
|
|
#- proxy
|
|
|
|
gotenberg:
|
|
image: gotenberg/gotenberg:7.4
|
|
restart: unless-stopped
|
|
container_name: gotenberg
|
|
ports:
|
|
- 3000:3000 # change the port mapping if you need
|
|
command:
|
|
- "gotenberg"
|
|
- "--chromium-disable-routes=true"
|
|
|
|
tika:
|
|
image: ghcr.io/paperless-ngx/tika:latest
|
|
container_name: tika
|
|
ports:
|
|
- 9998:9998 # change the port mapping if you need
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
default:
|
|
name: paperless
|
|
ipam:
|
|
config:
|
|
- subnet: 172.xx.0.0/29 #change the subnet as necessary
|
|
#uncomment the following lines and change the network name as necessary to add your reverse proxy network
|
|
#proxy:
|
|
#external: true |