Replies: 7 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
Are there any instructions for deploying with Portainer? |
Beta Was this translation helpful? Give feedback.
-
yes to putting search, salt-rim and bar-assistant all in the same container. The browser should not be making 3 connections just to run this. |
Beta Was this translation helpful? Give feedback.
-
No, none of your example configs work on the internet. You have to combine
a few entries and it’s pretty unclear what and where.
Hence this request for simplified deployment and all the “api not found”
issues.
If you want a cleaner example configuration; I would delete the nginx,
change one of the 8080 ports, publish all the ports for each container and
be clear on what env variables need to be where re portainer deployment.
…On Tue, Aug 5, 2025 at 5:32 AM Karlo Mikus ***@***.***> wrote:
You're not bagging, don't worry.
I think the issue stems from the webserver container in docker compose
example. That's optional and it just shows how to configure all services.
Saltrim container is just a bunch of html files that get served via nginx.
There is nothing to log here since all the code is intended to run in your
browser, everything that happens will show up in the browsers console.
Api is intended to be exposed so there should be no major security
concerns. There is no plan to move to another db engine at the moment.
Saltrim communicates with meilisearch via tenant tokens which are a
recommended way to hit meilisearch api endpoints.
If the user wants to expose any of these services to the public internet I
would assume that he is aware of the possible security implications.
Also the managed instance available at barassistant.app is running on
similar infrastructure documented in docker compose example, other than a
few extra services.
Hopefully this clears some unkowns.
—
Reply to this email directly, view it on GitHub
<#311 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APQ6BTZCIBFTQVJN3VCODAT3MCB3RAVCNFSM6AAAAACDDTVHUCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBQGQYDMNY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
"publish all ports for each container" General security practice is to only publish the port needed for the Web UI and secure the rest of your containers from bad actors. Nobody should be directly accessing BarAssistant, Meilisearch, Redis, etc. In current configuration, this is managed via the included nginx container. I'm all for simplifying deployment....but NOT at the cost of security. |
Beta Was this translation helpful? Give feedback.
-
There is no functional difference between /bar and port 8080. Both are
exposed the same.
…On Tue, Aug 5, 2025 at 6:37 AM zhdenny ***@***.***> wrote:
"publish all ports for each container"
General security practice is to only publish the port needed for the Web
UI and secure the rest of your containers from bad actors. Nobody should be
directly accessing BarAssistant, Meilisearch, Redis, etc.
The only thing that should be forward facing is SaltRim.
In current configuration, this is managed via the included nginx container.
I'm all for simplifying deployment....but NOT at the cost of security.
—
Reply to this email directly, view it on GitHub
<#311 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APQ6BT4WDBPDRKC3RFIMBAD3MCJQ5AVCNFSM6AAAAACDDTVHUCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBQGUYDCMQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Here is my sanitized deployment for Cloudflare;
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to deploy bar assistant similar to how Home Assistant works were there are several containers talking over their internal network and only the frontend (in this case salt rim) requires a proxy? Deployment seems complex and I find when searching the internet there are many people asking for help deploying Bar Assistant. It also seems like a bit of a security risk requiring proxying 3 different containers when it could possibly be done with one.
Beta Was this translation helpful? Give feedback.
All reactions