paperless angepasst
This commit is contained in:
@@ -33,4 +33,5 @@ PAPERLESS_TIME_ZONE=Europe/Berlin
|
||||
# documents are written in.
|
||||
PAPERLESS_OCR_LANGUAGE=deu
|
||||
|
||||
PAPERLESS_FILENAME_FORMAT={created_year}/{document_type}/{correspondent}/{title}
|
||||
PAPERLESS_FILENAME_FORMAT={document_type}/{correspondent}/{created_year}/{title}
|
||||
PAPERLESS_CONSUMER_POLLING=30
|
||||
|
||||
@@ -31,6 +31,8 @@ services:
|
||||
broker:
|
||||
image: redis:6.0
|
||||
container_name: paperless_redis
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
@@ -64,6 +66,27 @@ services:
|
||||
- ./export:/usr/src/paperless/export
|
||||
- ./consume:/usr/src/paperless/consume
|
||||
env_file: docker-compose.env
|
||||
# command: ["document_consumer", "--no-inotify"]
|
||||
environment:
|
||||
PAPERLESS_REDIS: redis://broker:6379
|
||||
PAPERLESS_DBHOST: db
|
||||
PAPERLESS_DBHOST: db
|
||||
|
||||
#volumes:
|
||||
# consume:
|
||||
# name: consume
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: nfs
|
||||
# o: addr=${NFS_SERVER},rw
|
||||
# device: ":${PFAD1}"
|
||||
|
||||
# media:
|
||||
# name: media
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: nfs
|
||||
# o: addr=${NFS_SERVER},rw
|
||||
# device: ":${PFAD2}"
|
||||
|
||||
|
||||
# 192.168.0.102:/mnt/pool1/vdr/vdr /data/tv nfs defaults 0 0
|
||||
Reference in New Issue
Block a user