chore(ci): Dockerfile, Compose and Forgejo Actions #6

Closed
opened 2026-10-22 17:55:17 +00:00 by dsh · 1 comment
Member

Scope

Provide a production container and Forgejo Actions pipeline.

Acceptance criteria

  • Multi-stage Dockerfile using uv, non-root runtime, /healthz healthcheck.
  • docker-entrypoint.sh runs flask db upgrade before Gunicorn.
  • docker-compose.yml with persistent instance volume and localhost port binding.
  • .forgejo/workflows/ci.yml runs Ruff + pytest.
  • .forgejo/workflows/publish.yml builds/pushes to git.pvlb.dev/web/web-frontend and has an optional manual SSH deploy job.
  • README documents required secrets and runner assumptions.

Notes

Docker daemon is not available in the current dev sandbox; image build is verified on the runner or a Docker-capable host.

Moved from pvlb-infra/vps-setup#21 (created in the wrong repo by the issue tool's default).

## Scope Provide a production container and Forgejo Actions pipeline. ## Acceptance criteria - Multi-stage Dockerfile using uv, non-root runtime, `/healthz` healthcheck. - `docker-entrypoint.sh` runs `flask db upgrade` before Gunicorn. - `docker-compose.yml` with persistent `instance` volume and localhost port binding. - `.forgejo/workflows/ci.yml` runs Ruff + pytest. - `.forgejo/workflows/publish.yml` builds/pushes to `git.pvlb.dev/web/web-frontend` and has an optional manual SSH deploy job. - README documents required secrets and runner assumptions. ## Notes Docker daemon is not available in the current dev sandbox; image build is verified on the runner or a Docker-capable host. <sub>Moved from pvlb-infra/vps-setup#21 (created in the wrong repo by the issue tool's default).</sub>
Author
Member

Scaffold committed in 01fd968 and pushed to master. Compose config and workflow YAML validated; image build/deploy remains #8 pending the runner/secrets.

Scaffold committed in `01fd968` and pushed to `master`. Compose config and workflow YAML validated; image build/deploy remains #8 pending the runner/secrets.
dsh closed this issue 2026-10-22 17:58:09 +00:00
Sign in to join this conversation.
No description provided.