2023-02-15 21:45:31 +00:00
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
paperless-ngx:
|
|
|
|
image: lscr.io/linuxserver/paperless-ngx:latest
|
|
|
|
container_name: paperless-ngx
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
2023-02-24 00:04:43 +00:00
|
|
|
#- PAPERLESS_URL=https://docs.example.com # uncomment and adjust if behind reverse proxy
|
|
|
|
#- REDIS_URL= #optional
|
2023-02-15 21:45:31 +00:00
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/paperless-ngx/config:/config
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/paperless-ngx/data:/data
|
2023-02-15 21:45:31 +00:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
restart: unless-stopped
|
2023-02-24 00:04:43 +00:00
|
|
|
#labels:
|
|
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.http.routers.paperless-ngx.rule=Host(`docs.example.com`)
|
|
|
|
# - traefik.http.services.paperless-ngx.loadbalancer.server.port=8000
|
|
|
|
# - traefik.docker.network=proxy
|
|
|
|
# # Part for optional traefik middlewares
|
|
|
|
# - traefik.http.routers.paperless-ngx.middlewares=local-ipwhitelist@file
|