Fix paperless port: override k8s-injected PAPERLESS_PORT env var
Kubernetes auto-injects PAPERLESS_PORT=tcp://... for a service named 'paperless', which conflicts with Granian's --port flag. Explicitly set PAPERLESS_PORT=8000 to take precedence. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
919ad04e30
commit
0bde34d6e1
1 changed files with 4 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ spec:
|
|||
value: "5432"
|
||||
- name: PAPERLESS_DBNAME
|
||||
value: "paperless"
|
||||
# Explicit port to override k8s-injected PAPERLESS_PORT env var
|
||||
# (k8s sets PAPERLESS_PORT=tcp://... for a service named 'paperless')
|
||||
- name: PAPERLESS_PORT
|
||||
value: "8000"
|
||||
- name: PAPERLESS_DBUSER
|
||||
value: "paperless"
|
||||
- name: PAPERLESS_DBPASS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue