mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
build
This commit is contained in:
3
__swarm/paperless-ngx/.env
Executable file
3
__swarm/paperless-ngx/.env
Executable file
@@ -0,0 +1,3 @@
|
||||
RESTART=always
|
||||
DOCKER_REGISTRY=r.sectorq.eu/library/
|
||||
APPNAME=paperless-ngx
|
||||
53
__swarm/paperless-ngx/docker-compose.yml
Executable file
53
__swarm/paperless-ngx/docker-compose.yml
Executable file
@@ -0,0 +1,53 @@
|
||||
services:
|
||||
broker:
|
||||
image: ${DOCKER_REGISTRY:-}docker.io/library/redis:8
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /share/docker_data/paperless/redisdata:/data
|
||||
webserver:
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/paperless-ngx/paperless-ngx:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- broker
|
||||
ports:
|
||||
- "8001:8000"
|
||||
volumes:
|
||||
- /share/docker_data/paperless/data:/usr/src/paperless/data
|
||||
- /share/docker_data/paperless/media:/usr/src/paperless/media
|
||||
- /share/docker_data/paperless/export:/usr/src/paperless/export
|
||||
- /share/docker_data/paperless/consume:/usr/src/paperless/consume
|
||||
- /share/docker_data/paperless/scripts:/opt/scripts
|
||||
env_file: stack.env
|
||||
environment:
|
||||
PAPERLESS_REDIS: redis://broker:6379
|
||||
PAPERLESS_APPS: allauth.socialaccount.providers.openid_connect
|
||||
PAPERLESS_URL: https://paperless.sectorq.eu
|
||||
PAPERLESS_CSRF_TRUSTED_ORIGINS: https://paperless.sectorq.eu
|
||||
PAPERLESS_POST_CONSUME_SCRIPT: /opt/scripts/post-consumption.sh
|
||||
PAPERLESS_SOCIALACCOUNT_PROVIDERS: >
|
||||
{
|
||||
"openid_connect": {
|
||||
"APPS": [
|
||||
{
|
||||
"provider_id": "authentik",
|
||||
"name": "Authentik",
|
||||
"client_id": "B4NM614bqWkvDqGDAmR823qUm8n4ZNlG3XtvkI51",
|
||||
"secret": "7FFRdLWOUHlDxkhc86xR2yhxRn8BmDfTtfX9aTVY1XbRY197zy3UXPs51IMIkIjwjp6uijtpIQDDJDpR7LNInJt0F5hEXGMEcTfJxYyfNv2ytKFO58tCN5UD2EnzbCmN",
|
||||
"settings": {
|
||||
"server_url": "https://auth.sectorq.eu/application/o/paperless/.well-known/openid-configuration"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OAUTH_PKCE_ENABLED": "True"
|
||||
}
|
||||
}
|
||||
labels:
|
||||
homepage.container: paperless-ngx_webserver
|
||||
homepage.description: PDF server
|
||||
homepage.group: Utils
|
||||
homepage.href: https://paperless.sectorq.eu
|
||||
homepage.icon: ${APPNAME}.png
|
||||
homepage.name: Paperless
|
||||
homepage.server: my-docker
|
||||
wud.watch: "true"
|
||||
wud.watch.digest: "true"
|
||||
37
__swarm/paperless-ngx/stack.env
Executable file
37
__swarm/paperless-ngx/stack.env
Executable file
@@ -0,0 +1,37 @@
|
||||
###############################################################################
|
||||
# Paperless-ngx settings #
|
||||
###############################################################################
|
||||
|
||||
# See http://docs.paperless-ngx.com/configuration/ for all available options.
|
||||
|
||||
# The UID and GID of the user used to run paperless in the container. Set this
|
||||
# to your UID and GID on the host so that you have write access to the
|
||||
# consumption directory.
|
||||
#USERMAP_UID=1000
|
||||
#USERMAP_GID=1000
|
||||
|
||||
# See the documentation linked above for all options. A few commonly adjusted settings
|
||||
# are provided below.
|
||||
|
||||
# This is required if you will be exposing Paperless-ngx on a public domain
|
||||
# (if doing so please consider security measures such as reverse proxy)
|
||||
#PAPERLESS_URL=https://paperless.example.com
|
||||
|
||||
# Adjust this key if you plan to make paperless available publicly. It should
|
||||
# be a very long sequence of random characters. You don't need to remember it.
|
||||
#PAPERLESS_SECRET_KEY=change-me
|
||||
|
||||
# Use this variable to set a timezone for the Paperless Docker containers. Defaults to UTC.
|
||||
#PAPERLESS_TIME_ZONE=America/Los_Angeles
|
||||
|
||||
# The default language to use for OCR. Set this to the language most of your
|
||||
# documents are written in.
|
||||
#PAPERLESS_OCR_LANGUAGE=eng
|
||||
|
||||
# Additional languages to install for text recognition, separated by a whitespace.
|
||||
# Note that this is different from PAPERLESS_OCR_LANGUAGE (default=eng), which defines
|
||||
# the language used for OCR.
|
||||
# The container installs English, German, Italian, Spanish and French by default.
|
||||
# See https://packages.debian.org/search?keywords=tesseract-ocr-&searchon=names&suite=buster
|
||||
# for available languages.
|
||||
#PAPERLESS_OCR_LANGUAGES=tur ces
|
||||
Reference in New Issue
Block a user