Updated paperless template
This commit is contained in:
@@ -28,6 +28,7 @@ slug: "paperless-ngx"
|
|||||||
# --- Resource hints (displayed on deploy screen) ---
|
# --- Resource hints (displayed on deploy screen) ---
|
||||||
resources:
|
resources:
|
||||||
ram: "~500MB"
|
ram: "~500MB"
|
||||||
|
mem_limit: "1152M" # Total enforced limit across all containers (768+256+128)
|
||||||
pi_compatible: true # Runs on Raspberry Pi 3B+
|
pi_compatible: true # Runs on Raspberry Pi 3B+
|
||||||
needs_hdd: true # Needs external storage for user data
|
needs_hdd: true # Needs external storage for user data
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- paperless-internal
|
- paperless-internal
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 768M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
test: ["CMD", "curl", "-f", "http://localhost:8000"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -85,6 +89,10 @@ services:
|
|||||||
- paperless_postgres_data:/var/lib/postgresql/data
|
- paperless_postgres_data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- paperless-internal
|
- paperless-internal
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 256M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U paperless -d paperless"]
|
test: ["CMD-SHELL", "pg_isready -U paperless -d paperless"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -101,6 +109,10 @@ services:
|
|||||||
- paperless_redis_data:/data
|
- paperless_redis_data:/data
|
||||||
networks:
|
networks:
|
||||||
- paperless-internal
|
- paperless-internal
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 128M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|||||||
Reference in New Issue
Block a user