Files
cwshed-clone/structure_and_data.md
T
2026-06-27 22:17:10 +03:00

22 lines
1.5 KiB
Markdown

# Structure and Data
## Repository Layout
- [`.gitlab-ci.yml`](./.gitlab-ci.yml): single-stage GitLab pipeline that builds and pushes the `cwshed` Docker image.
- [`Dockerfile`](./Dockerfile): Nginx-based runtime image that copies the static site into `/usr/share/nginx/html`.
- [`nginx.conf`](./nginx.conf): custom Nginx config for serving the static app.
- [`web/`](./web): static frontend assets shipped into the container.
- [`AGENTS.md`](./AGENTS.md): repo-specific instructions for future coding agents.
- [`MEMORY.md`](./MEMORY.md): durable notes about the current CI/runtime decision.
## Runtime / Deployment
- GitLab CI runs the build job.
- The job builds through `docker:dind` with `DOCKER_HOST=tcp://docker:2375` and `DOCKER_TLS_CERTDIR=""`.
- The job waits for `docker info` to succeed before starting the build, because the daemon may need a few seconds to come up.
- The runner does not need the host Docker socket mounted for this repo.
- The resulting image is `cwshed:latest` in `$DOCKER_REGISTRY`.
- Remote runner host: `root@10.3.1.236` (`docker-03.homelab.local`), GitLab Runner `stage-zone-runner`, Docker executor, privileged, with `docker:29.6.1-dind` as the service image.
## Change Log
- 2026-06-27: updated the Docker CI image to `docker:29.6.1-cli` and aligned the pipeline to `docker:dind` with `DOCKER_HOST=tcp://docker:2375`.
- 2026-06-27: verified the working runner on `docker-03.homelab.local` and confirmed `docker:29.6.1-dind` is reachable from the job network.