mirror of
https://github.com/photoprism/photoprism-docs.git
synced 2026-04-25 18:55:58 +03:00
[PR #158] [MERGED] Kubernetes: Update instructions to properly mount the storage path #166
Labels
No labels
bug
docs 📚
done
enhancement
enhancement
help wanted
idea
low-priority
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism-docs#166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/photoprism/photoprism-docs/pull/158
Author: @cjlarose
Created: 6/12/2023
Status: ✅ Merged
Merged: 6/13/2023
Merged by: @lastzero
Base:
master← Head:patch-1📝 Commits (2)
f54a3a8Update kubernetes instructions to use default pathsc712927Use separate kubernetes volumes for originals and import dirs📊 Changes
1 file changed (+14 additions, -20 deletions)
View changed files
📝
docs/getting-started/advanced/kubernetes.md(+14 -20)📄 Description
The kubernetes instructions had a few issues. Namely,
PHOTOPRISM_EXPORT_PATHwas being set, but this doesn't seem to have any effect (or at least this env var isn't documented anywhere else)PHOTOPRISM_STORAGE_PATHwas not explicitly set, so it would default to/photoprism/storage, which would be in ephemeral storage (since that directory was not declared as a volume)PHOTOPRISM_BACKUP_PATHwas similarly not set, so the directory would have been ephemeral.In my experience, these problems (especially the unset
PHOTOPRISM_STORAGE_PATHvar) caused issues since it meant that photoprism was unable to store API keys on boot, preventing the activation of a membership.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.