Development env with static website for frkn.org, served by Nginx. Suitable for web dev iterations.
From the repository root:
docker build -t frkn-org .
docker run --rm -p 8080:80 frkn-orgOpen the site at:
http://localhost:8080
-
The container serves port
80;-p 8080:80maps it to port8080on the host. -
Stop the server with
Ctrl+C. The--rmflag removes the container automatically. -
Verify the container
The image exposes a health endpoint:
curl http://localhost:8080/healthExpected response:
ok
/subscription/?id=… normally talks to api.frkn.org. To click through the
wizard (including the AmneziaWG "download all configs as .zip" button) fully
locally, run the mock API and open the page with &mock=1:
# terminal 1 — mock api.frkn.org (http://127.0.0.1:3000)
node tools/mock-api/serve.js
# terminal 2 — the site
docker build -t frkn-org .
docker run -d --rm -p 8081:80 --name frkn-preview frkn-orgThen open:
http://localhost:8081/subscription/?id=demo-uuid-0000&mock=1
Click «Больше настроек и приложений» → AmneziaWG → pick an OS → the final step shows «⬇ Скачать все (N конф., .zip)» (raw), «⬇ AmneziaWG 3.x (N конф., .zip)» (3.1 client) and «⬇ AmneziaWG 2.x (M из N конф., .zip)» (AWG 2.0 field set for the Google Play build).
- docs/RUNBOOK.md — build/run/health, mock API, e2e test, screenshots, deploy.
- docs/ARCHITECTURE.md — how the static site fits together.