fix(paperless-ng): don't change default dir for static (#1599)
This commit is contained in:
@@ -246,48 +246,6 @@ questions:
|
||||
description: "Default"
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: static
|
||||
label: "App Static Storage"
|
||||
description: "This is where all static files created using “collectstatic” manager command are stored."
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: "Type of Storage"
|
||||
description: "Sets the persistence type, Anything other than PVC could break rollback!"
|
||||
schema:
|
||||
type: string
|
||||
default: "simplePVC"
|
||||
enum:
|
||||
- value: "simplePVC"
|
||||
description: "PVC (simple)"
|
||||
- value: "simpleHP"
|
||||
description: "HostPath (simple)"
|
||||
- value: "emptyDir"
|
||||
description: "emptyDir"
|
||||
- value: "pvc"
|
||||
description: "pvc"
|
||||
- value: "hostPath"
|
||||
description: "hostPath"
|
||||
# Include{persistenceBasic}
|
||||
- variable: hostPath
|
||||
label: "hostPath"
|
||||
description: "Path inside the container the storage is mounted"
|
||||
schema:
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
type: hostpath
|
||||
- variable: medium
|
||||
label: "EmptyDir Medium"
|
||||
schema:
|
||||
show_if: [["type", "=", "emptyDir"]]
|
||||
type: string
|
||||
default: ""
|
||||
enum:
|
||||
- value: ""
|
||||
description: "Default"
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: consume
|
||||
label: "To-be consumed Document Storage"
|
||||
|
||||
@@ -19,7 +19,6 @@ secret:
|
||||
env:
|
||||
PUID: 568
|
||||
PAPERLESS_DATA_DIR: "/data/"
|
||||
PAPERLESS_STATICDIR: "/static/"
|
||||
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
||||
PAPERLESS_MEDIA_ROOT: "/media/"
|
||||
USERMAP_UID: "{{ .Values.env.PUID }}"
|
||||
@@ -61,9 +60,6 @@ persistence:
|
||||
consume:
|
||||
enabled: true
|
||||
mountPath: "/consume"
|
||||
static:
|
||||
enabled: true
|
||||
mountPath: "/static"
|
||||
media:
|
||||
enabled: true
|
||||
mountPath: "/media"
|
||||
|
||||
Reference in New Issue
Block a user