Add Linux container, make model base URL separately configurable, auto-configure UI - #1
Open
mgoltzsche wants to merge 7 commits into
Open
Add Linux container, make model base URL separately configurable, auto-configure UI#1mgoltzsche wants to merge 7 commits into
mgoltzsche wants to merge 7 commits into
Conversation
mgoltzsche
force-pushed
the
build-container
branch
3 times, most recently
from
April 15, 2026 18:05
7c15570 to
c3d3029
Compare
Builds an nginx-based container that reverse-proxies the OpenAI endpoints, allowing to override each base URL separately via environment variables and avoiding CORS problems. Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
This avoids the need for the user to configure the API base URL manually within the web UI and reduces the click path. It is now possible since the web UI is served by nginx along with the reverse-proxied API endpoints. Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
Publishes a gh container image whenever a release-worthy commit is pushed (based on conventional commits). Correspondingly it requires all commit messages from now on to be formatted according to the conventional commits specification, see https://www.conventionalcommits.org/en/v1.0.0/
mgoltzsche
force-pushed
the
build-container
branch
4 times, most recently
from
April 15, 2026 18:51
80d8639 to
c3b5419
Compare
mgoltzsche
force-pushed
the
build-container
branch
from
April 15, 2026 19:05
c3b5419 to
cb899a5
Compare
mgoltzsche
force-pushed
the
build-container
branch
from
April 15, 2026 19:31
cb899a5 to
31c2a63
Compare
Author
|
@srware-net this PR is polished and ready for review now! |
mgoltzsche
force-pushed
the
build-container
branch
5 times, most recently
from
April 15, 2026 20:48
cc2efdb to
5990705
Compare
mgoltzsche
force-pushed
the
build-container
branch
from
April 15, 2026 21:03
5990705 to
0504bc9
Compare
Author
|
I forgot to mention: before you merge the PR it would be good to manually push a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for sharing this project! Great for small prototypes, experiments as well as demos/examples.
To make the project easier to consume/use, this PR makes it publish a docker container image and let's the UI auto-configure the API base URL. Here are the improvements listed in more detail:
feat: ...,fix: ..., ...)) is pushed to the main branch. On pull request builds it performs a dry-run release, not publishing anything but already validating the commit messages.My fork is already publishing the container image using the changes contained within this PR (e.g. run
docker run --rm -p 8000:8000 ghcr.io/mgoltzsche/statelesschatui:0.1.2) but I'd be happy to archive my repo and use your published image version as soon as you merge this PR.