updated compose file
This commit is contained in:
+17
-25
@@ -1,14 +1,16 @@
|
||||
services:
|
||||
broker:
|
||||
paperless-redis:
|
||||
image: docker.io/library/redis:8
|
||||
container_name: paperless-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/redis/data:/data
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
db:
|
||||
paperless-postgres:
|
||||
image: docker.io/library/postgres:18
|
||||
container_name: paperless-postgres
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- $PWD/postgres:/var/lib/postgresql
|
||||
@@ -19,27 +21,15 @@ services:
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
paperless-postgres:
|
||||
container_name: paperless-postgres
|
||||
image: docker.io/library/postgres:15
|
||||
networks:
|
||||
- paperless
|
||||
restart: always
|
||||
volumes:
|
||||
- $PWD/postgres:/var/lib/postgresql
|
||||
environment:
|
||||
POSTGRES_DB: paperless
|
||||
POSTGRES_USER: paperless
|
||||
POSTGRES_PASSWORD: ieta6iuGhoorooluGieceekahFeic4
|
||||
|
||||
webserver:
|
||||
paperless:
|
||||
image: ghcr.io/paperless-ngx/paperless-ngx:latest
|
||||
container_name: paperless
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
- broker
|
||||
- gotenberg
|
||||
- tika
|
||||
- paperless-postgres
|
||||
- paperless-redis
|
||||
- paperless-gotenberg
|
||||
- paperless-tika
|
||||
ports:
|
||||
- "8112:8000"
|
||||
volumes:
|
||||
@@ -49,17 +39,18 @@ services:
|
||||
- /mnt/storage/Documents/Paperless/Input:/usr/src/paperless/consume
|
||||
env_file: .env
|
||||
environment:
|
||||
PAPERLESS_REDIS: redis://broker:6379
|
||||
PAPERLESS_REDIS: redis://paperless-redis:6379
|
||||
PAPERLESS_DBHOST: db
|
||||
PAPERLESS_TIKA_ENABLED: 1
|
||||
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
|
||||
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
|
||||
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://paperless-gotenberg:3000
|
||||
PAPERLESS_TIKA_ENDPOINT: http://paperless-tika:9998
|
||||
networks:
|
||||
- paperless
|
||||
- reverse-proxy
|
||||
|
||||
gotenberg:
|
||||
paperless-gotenberg:
|
||||
image: docker.io/gotenberg/gotenberg:8.25
|
||||
container_name: paperless-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.
|
||||
@@ -70,8 +61,9 @@ services:
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
tika:
|
||||
paperless-tika:
|
||||
image: docker.io/apache/tika:latest
|
||||
container_name: paperless-tika
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- paperless
|
||||
|
||||
Reference in New Issue
Block a user