21 lines
1.3 KiB
Markdown
21 lines
1.3 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 now talks to Docker through `unix:///var/run/docker.sock` instead of a `docker:dind` service.
|
|
- The GitLab runner must mount the host socket into the job container.
|
|
- The resulting image is `cwshed:latest` in `$DOCKER_REGISTRY`.
|
|
- Remote runner host: `root@10.3.1.168` (`docker-host-1`), GitLab Runner `ryzen-runner-dind`, Docker executor, with `/var/run/docker.sock` bind-mounted into the job container.
|
|
|
|
## Change Log
|
|
- 2026-06-27: updated the Docker CI image to `docker:29.6.1-cli` and switched the pipeline from TCP dind to the Unix socket path.
|
|
- 2026-06-27: updated the GitLab Runner config on `docker-host-1` to mount `/var/run/docker.sock`, then restarted `gitlab-runner`.
|