Skip to content

feat(gensui): add missing docker-compose.yml#15

Open
wstlima wants to merge 1 commit into
AlphaHorizon-AI:mainfrom
wstlima:feat/gensui-docker-compose
Open

feat(gensui): add missing docker-compose.yml#15
wstlima wants to merge 1 commit into
AlphaHorizon-AI:mainfrom
wstlima:feat/gensui-docker-compose

Conversation

@wstlima

@wstlima wstlima commented Jul 10, 2026

Copy link
Copy Markdown

Fixes #4

Summary

README.md and both Gensui-Docker-Install.{sh,bat} scripts document and depend on a docker-compose.yml living in gensui/ (cd Shogun/gensui && docker compose up -d), but no such file exists in this repository — confirmed absent across the full commit history and in the only GitHub release (v1.0.0.0, which ships only the installer scripts, no source).

gensui/.gitignore already has a docker-compose.yml entry, suggesting this was meant to be provided by each deployer rather than committed — but that leaves the README's Quick Start unusable out of the box. This PR adds a reference compose file (force-added past .gitignore) so the documented flow actually works. Maintainers may prefer to keep it gitignored upstream and treat this as a template instead.

What it does

  • gensui service: builds gensui/Dockerfile from the repo root context, binds only to 127.0.0.1:8787, persists /app/data and /app/logs in named volumes
  • Optional server profile adds the nginx reverse proxy the README describes for TLS (docker compose --profile server up -d), reusing the existing gensui/nginx.conf

Depends on

#14 (Dockerfile frontend fix) — without it this compose file builds successfully but serves the wrong frontend.

Test plan

  • cd gensui && cp .env.example .env (+ random JWT secret) → docker compose up -d --buildcurl http://127.0.0.1:8787/api/gensui/health returns {"status":"ok",...}

README.md and both Gensui-Docker-Install.{sh,bat} scripts document
and depend on a docker-compose.yml living in gensui/ (`cd
Shogun/gensui && docker compose up -d`), but no such file exists in
this repository — confirmed absent across the full commit history
(`git log --all --oneline -- '**/docker-compose*'` returns nothing)
and in the only GitHub release (v1.0.0.0, which ships only the
installer scripts, no source).

gensui/.gitignore already has a `docker-compose.yml` entry (line 71),
suggesting this was meant to be provided by each deployer rather than
committed — but that leaves the README's `docker compose up -d`
Quick Start unusable out of the box. Adding a reference compose file
(force-added past .gitignore for this PR) so the documented flow
actually works. Maintainers may prefer to keep it gitignored upstream
and treat this as a template/example instead.

Basic service: builds gensui/Dockerfile from the repo root context
(required by that Dockerfile's `COPY pyproject.toml` — see the
companion PR fixing the Dockerfile's frontend COPY paths), binds only
to 127.0.0.1:8787, persists /app/data and /app/logs in named volumes.
Optional `server` profile adds the nginx reverse proxy the README
describes for TLS (`docker compose --profile server up -d`), reusing
the existing gensui/nginx.conf.

Depends on the Dockerfile fix in
fix/gensui-dockerfile-wrong-frontend — without it this compose file
builds successfully but serves the wrong frontend.

Tested end-to-end:
  cd gensui && cp .env.example .env  # + set a random JWT secret
  docker compose up -d --build
  curl http://127.0.0.1:8787/api/gensui/health
  # {"status":"ok","service":"gensui","version":"0.1.0"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gensui/docker-compose.yml referenced in README and installers, but doesn't exist

1 participant