@renfiela
Kannst du deine andern docker-compose auch noch Posten ?
( Redis & Tikka & Gotenberg ) MariaDB wird ja von der DS wie ich sehe bereit gestellt.
version: "3.4"
services:
broker:
container_name: Paperless_Broker
image: docker.io/library/redis:latest
restart: unless-stopped
volumes:
- /volume1/docker/paperlessngx/redis:/data # bitte an deine Bedürfnisse anpassen
webserver:
container_name: Paperless
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
depends_on:
- broker
- gotenberg
- tika
ports:
- "8010:8000"
healthcheck:
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- /volume1/docker/paperlessngx/data:/usr/src/paperless/data # bitte an deine Bedürfnisse anpassen
- /volume1/docker/paperlessngx/media:/usr/src/paperless/media # bitte an deine Bedürfnisse anpassen
- /volume1/docker/paperlessngx/export:/usr/src/paperless/export # bitte an deine Bedürfnisse anpassen
- /volume1/docker/paperlessngx/scripts:/scripts # bitte an deine Bedürfnisse anpassen
- /volume1/Eltern/DocIn:/usr/src/paperless/consume # bitte an deine Bedürfnisse anpassen
env_file: docker-compose.env
environment:
PAPERLESS_REDIS: redis://broker:6379
PAPERLESS_DBENGINE: mariadb
PAPERLESS_DBHOST: 192.168.2.57 # deine IP des Synology
PAPERLESS_DBNAME: tester # bitte an deine Bedürfnisse anpassen
PAPERLESS_DBUSER: tester # bitte an deine Bedürfnisse anpassen
PAPERLESS_DBPASS: Tester_12345 # bitte an deine Bedürfnisse anpassen
PAPERLESS_DBPORT: 3306
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
gotenberg:
container_name: Paperless_Gotenberg
image: docker.io/gotenberg/gotenberg:latest
restart: unless-stopped
command:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika:
container_name: Paperless_Tika
image: ghcr.io/paperless-ngx/tika:latest
restart: unless-stopped
volumes:
data:
media:
pgdata:
redisdata:
There is an error in the yaml syntax: YAMLSemanticError: Implicit map keys need to be followed by map values
- /volume1/docker/paperless1/consume:/usr/src/paperless/consume:rw
- /volume1/Scanner/DMS:/usr/src/paperless/consume:rw
version: "3.9"
services:
redis:
image: redis:7
command:
- /bin/sh
- -c
- redis-server --requirepass redispass
container_name: PaperlessNGX-REDIS
hostname: paper-redis
mem_limit: 512m
mem_reservation: 256m
cpu_shares: 768
security_opt:
- no-new-privileges:true
read_only: true
user: 1026:100
healthcheck:
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
volumes:
- /volume1/docker/paperless1/redis:/data:rw
environment:
TZ: Europe/Berlin
restart: on-failure:5
db:
image: postgres:16
container_name: PaperlessNGX-DB
hostname: paper-db
mem_limit: 1g
cpu_shares: 768
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "paperless", "-U", "paperlessuser"]
timeout: 45s
interval: 10s
retries: 10
volumes:
- /volume1/docker/paperless1/db:/var/lib/postgresql/data:rw
environment:
POSTGRES_DB: paperless
POSTGRES_USER: paperlessuser
POSTGRES_PASSWORD: paperlesspass
restart: on-failure:5
gotenberg:
image: gotenberg/gotenberg:latest
container_name: PaperlessNGX-GOTENBERG
hostname: gotenberg
security_opt:
- no-new-privileges:true
user: 1026:100
command:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-disable-routes=true"
- "--chromium-allow-list=file:///tmp/.*"
restart: on-failure:5
tika:
image: ghcr.io/paperless-ngx/tika:latest
container_name: PaperlessNGX-TIKA
hostname: tika
security_opt:
- no-new-privileges:true
user: 1026:100
restart: on-failure:5
paperless:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
container_name: PaperlessNGX
hostname: paperless-ngx
mem_limit: 6g
cpu_shares: 1024
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
ports:
- 13080:8000
volumes:
- /volume1/docker/paperless1/data:/usr/src/paperless/data:rw
- /volume1/docker/paperless1/media:/usr/src/paperless/media:rw
- /volume1/docker/paperless1/export:/usr/src/paperless/export:rw
- /volume1/docker/paperless1/consume:/usr/src/paperless/consume:rw
# - /volume1/Scanner/DMS:/usr/src/paperless/consume:rw
- /volume1/docker/paperless1/trash:/usr/src/paperless/trash:rw
environment:
PAPERLESS_REDIS: redis://:redispass@paper-redis:6379
PAPERLESS_DBENGINE: postgresql
PAPERLESS_DBHOST: paper-db
PAPERLESS_DBNAME: paperless
PAPERLESS_DBUSER: paperlessuser
PAPERLESS_DBPASS: paperlesspass
PAPERLESS_TRASH_DIR: ../trash
# PAPERLESS_FILENAME_FORMAT: '{created_year}/{correspondent}/{document_type}/{title}'
PAPERLESS_OCR_ROTATE_PAGES_THRESHOLD: 6
PAPERLESS_TASK_WORKERS: 1
USERMAP_UID: 1026
USERMAP_GID: 100
PAPERLESS_TIME_ZONE: Europe/Berlin
PAPERLESS_ADMIN_USER: admin
PAPERLESS_ADMIN_PASSWORD: 123456
# PAPERLESS_URL: https://paperlessngx.yourname.synology.me
# PAPERLESS_CSRF_TRUSTED_ORIGINS: https://paperlessngx.yourname.synology.me
PAPERLESS_OCR_LANGUAGE: deu+eng
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
restart: on-failure:5
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
tika:
condition: service_started
gotenberg:
condition: service_started
Das klappt bei mir nicht. Wenn ich ihn über den Browser anspreche kriege ich einfach ein Timeout. Ist das bei dir der eigentliche ngx container? Bei mir ist es nur der eigentliche ngx container, die anderen lauen.Guten Morgen,
Bei mir ist es auch orange, läuft aber soweit alles.
Halte das mal im Auge
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.