Рет қаралды 3,742
This video covers installing Paperless-NGX, which is an online document management system, on your Synology NAS using Container Manager.
⭐️ BUY ME A COFFEE⭐️
www.buymeacoffee.com/digitala...
⭐️ SUPPORT THIS CHANNEL⭐️
digitalaloha.com/support-my-w...
⭐️ HIRE ME FOR A PROJECT⭐️
digitalaloha.com/hire-me/
The video topics include:
• Introduction to Paperless-NGX.
• Creating A Paperless-NGX Project Using Container Manager.
• Setting up DDNS and a Wildcard Let's Encrypt Certificate.
• Setting up a Reverse Proxy using the Wildcard Let's Encrypt Certificate.
• Setting up Port Forwarding.
• Launching the Paperless-NGX UI.
Folders and sub-folders created in the video
---
• /volume1/docker/paperless-ngx
Then create the following sub-folders withing the paperless-ngx folder.
• consume
• data
• db
• export
• media
• redis
---
docker-compose.env
---
USERMAP_UID=1000
USERMAP_GID=1000
PAPERLESS_TIME_ZONE=America/Los_Angeles
PAPERLESS_OCR_LANGUAGE=eng
PAPERLESS_ADMIN_USER: pladmin
PAPERLESS_ADMIN_PASSWORD: ChangeThisPassword!!
PAPERLESS_URL=paperless.example.com # Set this if configuring Paperless-ngx for remote access using a reverse proxy. Otherwise comment out the line with a #.
PAPERLESS_SECRET_KEY=change-me # Set this if making Paperless-ngx available publicly. Otherwise comment out the line with a #.
---
docker-compose.yml for the video
---
version: "3.4"
services:
broker:
image: redis
container_name: paperless-ngx-redis
restart: unless-stopped
volumes:
- /volume1/docker/paperless-ngx/redis:/data
db:
image: postgres
container_name: paperless-ngx-db
restart: unless-stopped
volumes:
- /volume1/docker/paperless-ngx/db:/var/lib/postgresql/data
environment:
POSTGRES_DB: paperless
POSTGRES_USER: paperless
POSTGRES_PASSWORD: paperless # If you change the password add the PAPERLESS_DBPASS: password_you_chose to the paperless-ngx/webserver container.
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
container_name: paperless-ngx
restart: unless-stopped
depends_on:
- db
- broker
- gotenberg
- tika
ports:
- "8000:8000"
volumes:
- /volume1/docker/paperless-ngx/data:/usr/src/paperless/data
- /volume1/docker/paperless-ngx/media:/usr/src/paperless/media
- /volume1/docker/paperless-ngx/export:/usr/src/paperless/export
- /volume1/docker/paperless-ngx/consume:/usr/src/paperless/consume
env_file: docker-compose.env
environment:
PAPERLESS_REDIS: redis://broker:6379
PAPERLESS_DBHOST: db
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: tika:9998
PAPERLESS_DBPASS: password_you_chose # If you changed the password in the db container add this line. Otherwise you can delete or comment out the line with a #.
gotenberg:
image: docker.io/gotenberg/gotenberg
container_name: paperless-ngx-gotenberg
restart: unless-stopped
The gotenberg chromium route is used to convert .eml files. We do not
want to allow external content like tracking pixels or even javascript.
command:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
tika:
image: ghcr.io/paperless-ngx/tika:latest
container_name: paperless-ngx-tika
restart: unless-stopped
---
In the video I mentioned or referenced the following link:
• Paperless-NGX website - docs.paperless-NGX.com
• Paperless-NGX GitHub - github.com/paperless-NGX/pape...
• mariushosting.com - Install Paperless NGX With Office Files Support - mariushosting.com/synology-in...
Timecodes
0:00 | Introduction
1:04 | Prerequisites - Container Manager, Text Editor, Enable SSH, And Create Paperless-NGX Folders
2:06 | Create And Configure The docker-compose.env File
4:20 | Create The Paperless-NGX Project Using Container Manager
6:14 | Launch Paperless-NGX Using Local IP Address And Host Port Number
7:10 | Setup DDNS
7:47 | Setup A Wildcard Let’s Encrypt Certificate
8:32 | Setup Reverse Proxy
9:42 | Associate DDNS Hostname With The Let’s Encrypt Wildcard Certificate
10:14 | Setup Router Port Forwarding
10:24 | Launch Paperless-NGX Using Reverse Proxy DDNS Domain Name
11:06 | Closing
#synology #paperless-ngx #paperless