fix: environment
This commit is contained in:
parent
c0fdb33ae0
commit
7922206e61
@ -1,6 +1,15 @@
|
||||
[Unit]
|
||||
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]
|
||||
ContainerName=paperless-ngx
|
||||
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
|
||||
|
||||
PAPERLESS_CONSUMER_ENABLE_BARCODES={{ paperless_barcode_enable }}
|
||||
Environment=PAPERLESS_CONSUMER_ENABLE_BARCODES={{ paperless_barcode_enable }}
|
||||
|
||||
Network=traefik.network
|
||||
Network=paperless.network
|
||||
@ -65,12 +74,3 @@ TimeoutStopSec=90
|
||||
|
||||
[Install]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user