docker-bits/lsio/papermerge/docker-run.sh

19 lines
1.2 KiB
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Papermerge](https://www.papermerge.com/) is an open source document
# management system (DMS) primarily designed for archiving and retrieving your
# digital documents. Instead of having piles of paper documents all over your
# desk, office or drawers - you can quickly scan them and configure your scanner
# to directly upload to Papermerge DMS.'
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=papermerge \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-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}/papermerge/config:/config `# Contains all relevant configuration files.` \
-v ${BASEDIR:-/volume1/docker}/papermerge/data:/data `# Storage location for all papermerge data files.` \
--restart unless-stopped \
ghcr.io/linuxserver/papermerge