Comments (4)
Thanks for the confirmation. I already launched photoview
with k8s and it works well. Thank you again for your hard work.
from photoview.
Hi @googollee, thanks for your report.
We do not officially support k8s, as (as far as I know) nobody has tested the deployment of Photoview onto k8s.
However, I noticed a few things in your config:
- you use SQLite DB and it is a strange choice (as to me) for k8s deployment. Currently, we have limited support of SQLite for really small deployments with rare access from users (as it is connected to the backend in exclusive mode using a single connection). I'd recommend you switch to PostgreSQL, as this is the most performant DB and fits the best to a k8s setup, where a higher-than-usual load is expected.
- you've mixed paths inside the container: you used the release image while setting paths from the
master
branch. I'd suggest you switch to theviktorstrate/photoview:master
to be consistent and get the latest fixes and improvements. - make sure that the value of the
PHOTOVIEW_UI_PATH
points to the folder inside the container, where the UI files are located. For themaster
image that should be the/app/ui
Please try these (at least the last 2) suggestions - hope that they will help. If not, please share what has changed in the app behavior after these changes were made.
from photoview.
Hi @kkovaletp,
Thank you for the quick response.
It's working with viktorstrate/photoview:master
and PHOTOVIEW_UI_PATH=/app/ui
. I didn't know that viktorstrate/photoview:2
is a 2-year-old image. I followed with docker compose example and it should be updated. I'll see if I can do that later.
Now from the log, it keeps complaining that the database is read-only. I hope to keep it simple as a single instance.
from photoview.
I followed with docker compose example and it should be updated
Actually, this is a tricky moment, as this is the default branch, the example should refer to the released image, however, until the current master
image is not released, there is this inconsistency.
I don't think that updating the example to refer to the unstable version of the image is a good idea, but I confirm that there is inconsistency, which leads to user misunderstanding and product misconfiguration.
from photoview.
Related Issues (20)
- Tech debt - service dao layers for api HOT 2
- add ImageMagick Support
- Frontend notification improvements HOT 1
- Access link is not reloaded on the sidebar under "Sharing options" if user clicks on (i) of different media without closing the sidebar
- User Authentication - password requirements HOT 1
- Add custom RAW format conversion tool support
- Guest user access. HOT 7
- Lots of vulnerabilities in UI HOT 2
- Darktable is out of date on edge docker image HOT 6
- [Security vulnerability]: Photoview outputs the DB connection string as a plain text to the log
- PWA seems break ? HOT 19
- Add an auto-fix broken media step to the scanner job HOT 1
- Plex Support
- Removal of generated files from version control HOT 6
- panic: runtime error: invalid memory address or nil pointer dereference HOT 5
- TRACKING ISSUE: For 3.0 release
- Permission denied error for folders, mounted from the host to the `photoview` container (cache and media library folders) HOT 12
- Create CONTRIBUTING.md document HOT 1
- Placeholder issue: Fix various issues, reported by Code analysis tools HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoview.