docker-portainer/install-paperlessngx-on-docker/docker-compose.yml

86 lines
2.3 KiB
YAML

name: paperless
services:
paperless:
image: ghcr.io/paperless-ngx/paperless-ngx:2.4.3
restart: unless-stopped
depends_on:
- db
- broker
ports:
- '8005:8000'
healthcheck:
test:
- CMD
- curl
- '-f'
- http://localhost:8000
interval: 30s
timeout: 10s
retries: 5
volumes:
- /DATA/AppData/paperless/data:/usr/src/paperless/data
- /DATA/AppData/paperless/media:/usr/src/paperless/media
- /DATA/AppData/paperless/export:/usr/src/paperless/export
- /DATA/AppData/paperless/consume:/usr/src/paperless/consume
environment:
PAPERLESS_REDIS: redis://broker:6379
PAPERLESS_DBENGINE: mariadb
PAPERLESS_DBHOST: db
PAPERLESS_DBUSER: paperless
PAPERLESS_DBPASS: paperless
PAPERLESS_DBPORT: '3306'
PAPERLESS_ADMIN_USER: admin
PAPERLESS_ADMIN_PASSWORD: admin
networks:
- paperless_network
broker:
image: redis:7.0
restart: unless-stopped
volumes:
- /DATA/AppData/paperless/redis/data:/data
networks:
- paperless_network
db:
image: mariadb:11.2.2
restart: unless-stopped
volumes:
- /DATA/AppData/paperless/mysql:/var/lib/mysql
environment:
MARIADB_HOST: paperless
MARIADB_DATABASE: paperless
MARIADB_USER: paperless
MARIADB_PASSWORD: paperless
MARIADB_ROOT_PASSWORD: paperless
networks:
- paperless_network
networks:
paperless_network:
driver: bridge
x-casaos:
architectures:
- amd64
- arm
- arm64
main: paperless
description:
en_us: Paperless-ngx forked from paperless-ng to continue the great work and distribute responsibility of supporting and advancing the project among a team of people.
tagline:
en_us: Paperless-ngx is a document management system that transforms your physical documents into a searchable online archive so you can keep, well, less paper.
developer: paperless-ngx
author: WisdomSky
icon: https://avatars.githubusercontent.com/u/99562962
thumbnail: https://avatars.githubusercontent.com/u/99562962
title:
en_us: Paperless-ngx
tips:
before_install:
en_us: |
## Credentials:
username: `admin`
password: `admin`
category: Coolstore
port_map: '8005'