mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
32 lines
613 B
YAML
32 lines
613 B
YAML
version: "3.4"
|
|
services:
|
|
broker:
|
|
image: redis:6.0
|
|
restart: always
|
|
|
|
webserver:
|
|
build: .
|
|
restart: always
|
|
depends_on:
|
|
- broker
|
|
ports:
|
|
- 8000:8000
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
volumes:
|
|
- data:/usr/src/paperless/data
|
|
- media:/usr/src/paperless/media
|
|
- ./export:/usr/src/paperless/export
|
|
- ./consume:/usr/src/paperless/consume
|
|
env_file: docker-compose.env
|
|
environment:
|
|
PAPERLESS_REDIS: redis://broker:6379
|
|
|
|
|
|
volumes:
|
|
data:
|
|
media:
|