mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-08-29 04:30:10 +00:00
first commit
This commit is contained in:
29
projects/paperless/README.md
Normal file
29
projects/paperless/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# [paperless](https://docs.paperless-ngx.com)
|
||||
|
||||
## paperless
|
||||
|
||||
### General
|
||||
|
||||
- Compose Path: `./projects/paperless/docker-compose.yml`
|
||||
|
||||
### Environment
|
||||
|
||||
- PAPERLESS_REDIS: #default: `redis://redis:6379`
|
||||
- PAPERLESS_TIME_ZONE: #local time zone - example: `Europe/Berlin`
|
||||
- PAPERLESS_ADMIN_USER:
|
||||
- PAPERLESS_ADMIN_PASSWORD:
|
||||
- PAPERLESS_OCR_LANGUAGE: #example: `deu+eng`
|
||||
- PAPERLESS_URL: #same as [domains](#domains) host
|
||||
- PAPERLESS_ALLOWED_HOSTS:
|
||||
- PAPERLESS_DBHOST: #db container-name
|
||||
- PAPERLESS_DBPASS: #same as db POSTGRES_PASSWORD
|
||||
- POSTGRES_DB: #default: `paperless`
|
||||
- POSTGRES_USER:
|
||||
- POSTGRES_PASSWORD: #database password - same as PAPERLESS_DBPASS
|
||||
|
||||
### Domains
|
||||
|
||||
- Service Name: `paperless`
|
||||
- Container Port: `8000`
|
||||
- HTTPS: `true`
|
||||
- Certificate Provider: `Let's Encrypt`
|
||||
62
projects/paperless/docker-compose.yml
Normal file
62
projects/paperless/docker-compose.yml
Normal file
@@ -0,0 +1,62 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
paperless:
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:2.20.3
|
||||
container_name: paperless
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- paperlessdata:/usr/src/paperless/data
|
||||
- paperlessmedia:/usr/src/paperless/media
|
||||
- paperlessexport:/usr/src/paperless/export
|
||||
- paperlessconsume:/usr/src/paperless/consume
|
||||
environment:
|
||||
PAPERLESS_REDIS: ${PAPERLESS_REDIS}
|
||||
PAPERLESS_TIME_ZONE: ${PAPERLESS_TIME_ZONE}
|
||||
PAPERLESS_ADMIN_USER: ${PAPERLESS_ADMIN_USER}
|
||||
PAPERLESS_ADMIN_PASSWORD: ${PAPERLESS_ADMIN_PASSWORD}
|
||||
PAPERLESS_OCR_LANGUAGE: ${PAPERLESS_OCR_LANGUAGE}
|
||||
PAPERLESS_URL: https://${PAPERLESS_URL}
|
||||
PAPERLESS_ALLOWED_HOSTS: ${PAPERLESS_ALLOWED_HOSTS}
|
||||
PAPERLESS_DBHOST: ${PAPERLESS_DBHOST}
|
||||
PAPERLESS_DBPASS: ${PAPERLESS_DBPASS}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
networks:
|
||||
- dokploy-network
|
||||
|
||||
redis:
|
||||
image: redis:8.4.0
|
||||
container_name: paperless-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- paperlessredis:/user/local/etc/redis
|
||||
networks:
|
||||
- dokploy-network
|
||||
|
||||
db:
|
||||
container_name: paperless-db
|
||||
image: postgres:16
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- paperlessdb:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
networks:
|
||||
- dokploy-network
|
||||
|
||||
volumes:
|
||||
paperlessdb:
|
||||
paperlessdata:
|
||||
paperlessmedia:
|
||||
paperlessexport:
|
||||
paperlessconsume:
|
||||
paperlessredis:
|
||||
|
||||
networks:
|
||||
dokploy-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user