fix: environment

This commit is contained in:
Lennard Brinkhaus 2023-09-20 22:38:34 +02:00
parent c0fdb33ae0
commit 7922206e61
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22

View File

@ -1,6 +1,15 @@
[Unit] [Unit]
Description=Paperless-ngx Description=Paperless-ngx
Requires=paperless-ngx-postgres.service
Requires=paperless-ngx-redis.service
Requires=paperless-ngx-tika.service
Requires=paperless-ngx-gotenberg.service
After=paperless-ngx-postgres.service
After=paperless-ngx-redis.service
After=paperless-ngx-tika.service
After=paperless-ngx-gotenberg.service
[Container] [Container]
ContainerName=paperless-ngx ContainerName=paperless-ngx
Image=ghcr.io/paperless-ngx/paperless-ngx:{{ paperless_ngx_version }} Image=ghcr.io/paperless-ngx/paperless-ngx:{{ paperless_ngx_version }}
@ -24,7 +33,7 @@ Environment=PAPERLESS_DBPASS=paperless
Environment=PAPERLESS_REDIS=redis://paperless-ngx-redis:6379 Environment=PAPERLESS_REDIS=redis://paperless-ngx-redis:6379
PAPERLESS_CONSUMER_ENABLE_BARCODES={{ paperless_barcode_enable }} Environment=PAPERLESS_CONSUMER_ENABLE_BARCODES={{ paperless_barcode_enable }}
Network=traefik.network Network=traefik.network
Network=paperless.network Network=paperless.network
@ -65,12 +74,3 @@ TimeoutStopSec=90
[Install] [Install]
WantedBy=default.target WantedBy=default.target
Requires=paperless-ngx-postgres.service
Requires=paperless-ngx-redis.service
Requires=paperless-ngx-tika.service
Requires=paperless-ngx-gotenberg.service
After=paperless-ngx-postgres.service
After=paperless-ngx-redis.service
After=paperless-ngx-tika.service
After=paperless-ngx-gotenberg.service