00fb08c29b
fix: use https:// prefix for Gitea composite action ref
build / build (pull_request) Successful in 12s
2026-04-29 21:52:09 +02:00
8a342d92b1
chore: retrigger CI after action fix
build / build (pull_request) Failing after 1s
2026-04-29 21:51:17 +02:00
780678ff8b
fix: use full Gitea URL for cross-repo composite action
build / build (pull_request) Failing after 1s
2026-04-29 21:46:24 +02:00
0158fbe49b
chore: slim build.yml to use shared docker-build action
build / build (pull_request) Failing after 2s
2026-04-29 21:27:58 +02:00
c41aae3f5d
chore: slim build.yml to use shared docker-build action
build / build (pull_request) Failing after 2s
2026-04-29 21:26:15 +02:00
9cfd4163f6
feat(nginx): bake default white-label routing config, closes #1 ( #2 )
...
Build and publish / build (push) Successful in 20s
## Summary
- Add `nginx.conf.template` with full routing: admin/CMS surfaces → `cms:5555`, uploads → `cms:5555` (cached), `/api` → `shop:9999` (no cache), `/` → `shop:9999` (cached)
- Update `docker-entrypoint.sh` to render template via `envsubst` at startup; skip if adapter has already mounted its own config
- Update `Dockerfile` to `COPY nginx.conf.template` into image
- Bump CHANGELOG to v0.1.1
## Test plan
- [ ] Build image locally: `docker build -t libreshop/nginx:test libreshop/nginx/`
- [ ] Smoke test white-label default: no env overrides → confirm rendered `/etc/nginx/nginx.conf` contains `cms:5555` and `shop:9999`
- [ ] Smoke test env override: `NGINX_UPSTREAM_SHOP=shop:8080` → confirm substitution
- [ ] Smoke test adapter override: mount custom `nginx.conf` via compose `configs:` → confirm "adapter-provided nginx.conf detected" log line
- [ ] Deploy libreshop/demo with `nginx:v0.1.1` → confirm `/admin` returns 200
Closes #1
Co-authored-by: Michael Czechowski <michael.c@re-cinq.com >
Reviewed-on: #2
v0.1.1
2026-04-29 19:38:52 +02:00
Michael Czechowski
e849480a6e
ci: kick first build after enabling Gitea Actions
Build and publish / build (push) Successful in 22s
v0.1.0
2026-04-29 17:51:11 +02:00
Michael Czechowski
4501a08675
feat: extract nginx from mp/nginx — initial libreshop/nginx
...
Build and publish / build (push) Failing after 19s
Source moved verbatim from mp/nginx/ on 2026-04-29; mp was the first
concrete adapter consuming the libreshop toolkit. Builds and publishes
git.librete.ch/libreshop/nginx on every main / v* push via the standard
.gitea/workflows/build.yml shared across libreshop components.
2026-04-29 17:48:54 +02:00