mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:46:15 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
14
paperless/.env
Normal file
14
paperless/.env
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Paperless
|
||||
PAPERLESS_PORT=
|
||||
PAPERLESS_DBNAME=
|
||||
PAPERLESS_DBUSER=
|
||||
PAPERLESS_DBPASS=
|
||||
PAPERLESS_URL=
|
||||
PAPERLESS_SECRETKEY=
|
||||
63
paperless/docker-compose.yaml
Normal file
63
paperless/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
services:
|
||||
|
||||
# paperless (https://github.com/paperless-ngx/paperless-ngx/blob/dev/docker/compose/docker-compose.postgres.yml)
|
||||
paperless:
|
||||
image: ${REGISTRY}/paperless-ngx
|
||||
container_name: paperless
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${PAPERLESS_PORT:-8000}:8000
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
environment:
|
||||
PAPERLESS_OCR_LANGUAGE: eng
|
||||
|
||||
PAPERLESS_REDIS: redis://paperless-redis:6379
|
||||
|
||||
PAPERLESS_DBHOST: paperless-postgresql
|
||||
PAPERLESS_DBNAME: ${PAPERLESS_DBNAME:-paperless}
|
||||
PAPERLESS_DBUSER: ${PAPERLESS_DBUSER:-paperless}
|
||||
PAPERLESS_DBPASS: ${PAPERLESS_DBPASS:-paperless}
|
||||
|
||||
# PAPERLESS_URL: ${PAPERLESS_URL:-http://localhost:${PAPERLESS_PORT:-8000}}
|
||||
PAPERLESS_CSRF_TRUSTED_ORIGINS: ${PAPERLESS_URL:-http://localhost:${PAPERLESS_PORT:-8000}}
|
||||
|
||||
PAPERLESS_SECRET_KEY: ${PAPERLESS_SECRETKEY:-paperless}
|
||||
PAPERLESS_OCR_USER_ARGS: '{"invalidate_digital_signatures": true}'
|
||||
volumes:
|
||||
- ./data:/usr/src/paperless/data
|
||||
- ./media:/usr/src/paperless/media
|
||||
- ./export:/usr/src/paperless/export
|
||||
- ./consume:/usr/src/paperless/consume
|
||||
depends_on:
|
||||
- paperless-postgresql
|
||||
- paperless-redis
|
||||
networks:
|
||||
- paperless
|
||||
paperless-postgresql:
|
||||
image: ${REGISTRY}/postgres
|
||||
container_name: paperless-postgresql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${PAPERLESS_DBNAME:-paperless}
|
||||
POSTGRES_USER: ${PAPERLESS_DBUSER:-paperless}
|
||||
POSTGRES_PASSWORD: ${PAPERLESS_DBPASS:-paperless}
|
||||
volumes:
|
||||
- ./sql:/var/lib/postgresql/data:rw
|
||||
networks:
|
||||
- paperless
|
||||
paperless-redis:
|
||||
image: ${REGISTRY}/valkey
|
||||
container_name: paperless-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
networks:
|
||||
paperless:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue