updated server volumes to move to /srv from /home/mattspeer.
updated data volumes from /doc-archive to /srv/doc-archive.
This commit is contained in:
@@ -28,19 +28,19 @@
|
|||||||
# For more extensive installation and update instructions, refer to the
|
# For more extensive installation and update instructions, refer to the
|
||||||
# documentation.
|
# documentation.
|
||||||
|
|
||||||
version: "3.4"
|
|
||||||
services:
|
services:
|
||||||
broker:
|
broker:
|
||||||
image: docker.io/library/redis:7
|
image: docker.io/library/redis:7
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/mattspeer/paperless-ngx/redis/redisdata:/data
|
# - /home/mattspeer/paperless-ngx/redis/redisdata:/data
|
||||||
|
- /srv/docker/paperless-ngx/redis/redisdata:/data
|
||||||
db:
|
db:
|
||||||
image: docker.io/library/postgres:15
|
image: docker.io/library/postgres:15
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /home/mattspeer/paperless-ngx/postgress/pgdata:/var/lib/postgresql/data
|
# - /home/mattspeer/paperless-ngx/postgress/pgdata:/var/lib/postgresql/data
|
||||||
|
- /srv/docker/paperless-ngx/postgress/pgdata:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: paperless
|
POSTGRES_DB: paperless
|
||||||
POSTGRES_USER: paperless
|
POSTGRES_USER: paperless
|
||||||
@@ -55,10 +55,14 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8010:8000"
|
- "8010:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/mattspeer/paperless-ngx/web/data:/usr/src/paperless/data
|
# - /home/mattspeer/paperless-ngx/web/data:/usr/src/paperless/data
|
||||||
- /doc-archive/artifacts:/usr/src/paperless/media
|
# - /doc-archive/artifacts:/usr/src/paperless/media
|
||||||
- /doc-archive/export:/usr/src/paperless/export
|
# - /doc-archive/export:/usr/src/paperless/export
|
||||||
- /doc-archive/consume:/usr/src/paperless/consume
|
# - /doc-archive/consume:/usr/src/paperless/consume
|
||||||
|
- /srv/docker/paperless-ngx/web/data:/usr/src/paperless/data
|
||||||
|
- /srv/doc-archive/artifacts:/usr/src/paperless/media
|
||||||
|
- /srv/doc-archive/export:/usr/src/paperless/export
|
||||||
|
- /srv/doc-archive/consume:/usr/src/paperless/consume
|
||||||
environment:
|
environment:
|
||||||
PAPERLESS_REDIS: redis://broker:6379
|
PAPERLESS_REDIS: redis://broker:6379
|
||||||
PAPERLESS_DBHOST: db
|
PAPERLESS_DBHOST: db
|
||||||
|
|||||||
Reference in New Issue
Block a user