Giter Club home page Giter Club logo

Comments (4)

googollee avatar googollee commented on September 27, 2024 1

Thanks for the confirmation. I already launched photoview with k8s and it works well. Thank you again for your hard work.

from photoview.

kkovaletp avatar kkovaletp commented on September 27, 2024

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 the viktorstrate/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 the master 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.

googollee avatar googollee commented on September 27, 2024

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.

kkovaletp avatar kkovaletp commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.