26 lines
724 B
YAML
26 lines
724 B
YAML
version: "3.4"
|
|
services:
|
|
broker:
|
|
image: redis:6.0
|
|
restart: unless-stopped
|
|
|
|
webserver:
|
|
image: ghcr.io/paperless-ngx/paperless-ngx:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- broker
|
|
ports:
|
|
- 127.0.0.1:8097:8000
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
volumes:
|
|
- /data/paperlessngx/data:/usr/src/paperless/data
|
|
- /data/paperlessngx/media:/usr/src/paperless/media
|
|
- /data/paperlessngx/export:/usr/src/paperless/export
|
|
- /data/paperlessngx/consume:/usr/src/paperless/consume
|
|
env_file: docker-compose.env
|
|
environment:
|
|
PAPERLESS_REDIS: redis://broker:6379
|