Add paperless
This commit is contained in:
parent
721114b4d5
commit
bf31f51fa2
3 changed files with 52 additions and 0 deletions
10
paperless/README.md
Normal file
10
paperless/README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# paperless-ngx
|
||||||
|
|
||||||
|
Paperless-ngx is a community-supported open-source document management system that transforms your physical documents into a searchable online archive so you can keep, well, less paper.
|
||||||
|
|
||||||
|
## Important step when deploying
|
||||||
|
Several environment variables have to be set:
|
||||||
|
- paperless_version
|
||||||
|
- postgres_version
|
||||||
|
Paperless specific:
|
||||||
|
- PAPERLESS_SECRET_KEY: A random string
|
41
paperless/docker-compose.yaml
Normal file
41
paperless/docker-compose.yaml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
version: "3.4"
|
||||||
|
services:
|
||||||
|
broker:
|
||||||
|
image: docker.io/library/redis:7
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- redisdata:/data
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: docker.io/library/postgres:${postgres_version:-15}
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- pgdata:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: paperless
|
||||||
|
POSTGRES_USER: paperless
|
||||||
|
POSTGRES_PASSWORD: paperless
|
||||||
|
|
||||||
|
webserver:
|
||||||
|
image: ghcr.io/paperless-ngx/paperless-ngx:${paperless_version:-latest}
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- broker
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8082:8000"
|
||||||
|
volumes:
|
||||||
|
- /media/paperless/data:/usr/src/paperless/data
|
||||||
|
- /media/paperless/media:/usr/src/paperless/media
|
||||||
|
- /media/paperless/export:/usr/src/paperless/export
|
||||||
|
- /media/paperless/consume:/usr/src/paperless/consume
|
||||||
|
environment:
|
||||||
|
PAPERLESS_REDIS: redis://broker:6379
|
||||||
|
PAPERLESS_DBHOST: db
|
||||||
|
PAPERLESS_SECRET_KEY: ${PAPERLESS_SECRET_KEY}
|
||||||
|
PAPERLESS_OCR_LANGUAGE: deu
|
||||||
|
PAPERLESS_ENABLE_HTTP_REMOTE_USER: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
redisdata:
|
||||||
|
pgdata:
|
1
ports.md
1
ports.md
|
@ -6,3 +6,4 @@
|
||||||
| 8000 | portainer |
|
| 8000 | portainer |
|
||||||
| 8080 | firefly-fints-importer |
|
| 8080 | firefly-fints-importer |
|
||||||
| 8081 | scrutiny |
|
| 8081 | scrutiny |
|
||||||
|
| 8082 | paperless |
|
||||||
|
|
Loading…
Reference in a new issue