mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-18 15:25:41 +00:00
18 lines
1.1 KiB
Bash
18 lines
1.1 KiB
Bash
# [Paperless-ng](https://github.com/jonaswinkler/paperless-ng) is an application
|
|
# by Daniel Quinn and contributors that indexes your scanned documents and
|
|
# allows you to easily search for documents and store metadata alongside your
|
|
# documents.'
|
|
|
|
source ./.env
|
|
docker run -d \
|
|
--name=paperless-ng \
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
|
|
-e REDIS_URL= `# optional` `# Specify an external redis instance to use. Can optionally include a port (`redis:6379`) and/or db (`redis/foo`). If left blank or not included, will use a built-in redis instance. If changed after initial setup will also require manual modification of /config/settings.py` \
|
|
-p 8000:8000 `# http gui` \
|
|
-v ${BASEDIR:-/volume1/docker}/paperless-ng/config:/config `# Contains all relevant configuration files.` \
|
|
-v ${BASEDIR:-/volume1/docker}/paperless-ng/data:/data `# Storage location for all paperless-ng data files.` \
|
|
--restart unless-stopped \
|
|
ghcr.io/linuxserver/paperless-ng
|