Compose-Examples/examples/paperless-ngx/docker-compose.yml
2023-02-24 01:04:43 +01:00

26 lines
874 B
YAML

---
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
#- PAPERLESS_URL=https://docs.example.com # uncomment and adjust if behind reverse proxy
#- REDIS_URL= #optional
volumes:
- /mnt/docker-volumes/paperless-ngx/config:/config
- /mnt/docker-volumes/paperless-ngx/data:/data
ports:
- 8000:8000
restart: unless-stopped
#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