Comments (7)
Yes, I'll add the plain html files to the next release and provide some instructions on how to setup nginx for it to work.
from kitchenowl.
Great to hear that!
Since the kitchenowl-web
is only an nginx serving a statically build web site (generated from dart, I guess), could you also release the static web app so that people who already have nginx or similar running, can simply serve the files without needing to start a second nginx? Does not seem like much, but it adds up if you run a dozen selfhosted services doing exactly that (and your hosting on a small low-RAM VPS or RaspberryPI-like device)
The backend runs just fine in user mode.
from kitchenowl.
Published a new stable release that should fix this issue.
Because you also asked for a sample nginx configuration to host the static files yourself that can be found here: https://github.com/TomBursch/kitchenowl/blob/main/default.conf.template
See https://tombursch.github.io/kitchenowl/get-started/ for the new default setup (just remove FRONT_URL
everywhere)
from kitchenowl.
Which OS and distro is this running on? What command did you run to start the container? Did you install rootless docker for this and if so how?
You will certainly need root inside the container to be able to write to /var
, so you would need user namespaces enabled (if this is Linux) and rootless docker installed.
from kitchenowl.
Thanks for the quick reply. It's Ubuntu 22.04, started as docker compose up -d
. I am not using rootless docker.
Imho, the service should not require root inside the container to run. Writing into the container is not really considered good practice. If it is inevitable to start the container with root, it should provide some form of privilege lowering. Running internet-facing services as root (even inside a container) is far from optimal :-)
from kitchenowl.
I agree that it's better for overall security to run nginx in user mode, even in the container. Like you can see in the logs, I'm writing some environment variables to a .env file, this is was needed in the beginning because the setup was a bit different to what it is now. I already looked into ways of removing it, which would also get rid of the front_url variable so many people have problems with.
I can see that you're also running the backend in user mode, did you have any problems with that?
from kitchenowl.
from kitchenowl.
Related Issues (20)
- Bug: Logged out in browser after refreshing page HOT 4
- Feature request: transfer ownership of a household to a different user HOT 3
- Feature request: Add Ukrainian to Webplate HOT 2
- Bug: deleting categories leads to broken system: cannot add categories anymore. Household not accessible anymore thru webapp. HOT 3
- Connecting Android App to self hosted service? HOT 2
- Bug: Logged out after coming back from offline mode HOT 2
- Bug: Ubuntu 22.04 deb install fails (package libjsoncpp1 not available)
- Bug: Empty cooktime causes recipe import to crash
- Feature request: Allow on-the-fly meals in meal planner
- Bug: docker with nginx SSL reverse proxy HOT 8
- Bug: E-mail confirmation contains local http://localhost:8222 HOT 6
- Bug: Error on adding recipe from hellofresh HOT 9
- Feature request: Move recipe to other household HOT 1
- Ingredients Not importing HOT 3
- Docs: Authelia OIDC example is now incorrect HOT 1
- Bug: Category list shows scrolled to bottom when assigning ingredients
- Bug: Recipe can't be added to Mealplaner on IOS app, if the recipe has no ingrediants HOT 1
- Feature request: QIF Bank File Import HOT 1
- Feature request: Ability to edit item list of a household including clearing all standard items HOT 1
- Feature request: List all ingredients available and select them by clicking
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 kitchenowl.