Compose-Examples/examples/paperless-ngx/docker-compose.yml

26 lines
874 B
YAML
Raw Normal View History

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:
- /mnt/docker-volumes/paperless-ngx/config:/config
- /mnt/docker-volumes/paperless-ngx/data:/data
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