Profile URL Guide¶
This file documents what each main Docker profile actually publishes on the host, and which URLs you should use first.
Each profile now uses its own fixed Compose project name:
- full:
awesome-full-native - lightweight:
awesome-light - server:
awesome-server - ci:
awesome-ci
That keeps profile switching from producing normal orphan warnings just because the profiles declare different services.
Profiles still cannot share the same host ports at the same time. For example, full and lightweight both use 8081 and 11434.
Core Rule¶
For the application itself, prefer the gateway URL:
- full local:
http://localhost:8081 - lightweight local:
http://localhost:8081 - server:
https://awesome.byst.re
That gateway is the intended public surface for:
- frontend pages
- backend API under
/api/v1/... - warehouse-service API under its
/api/v1/...paths, including shipment tracking (see Warehouse-service routes) - payment-service API under its
/api/v1/...paths (see Payment-service routes) - notification-service API (user webhooks, webhook inboxes, commerce email log, local notification outbox; see Notification-service routes)
- delivery-service API and its tracking micro-frontend (see Delivery-service routes)
- the four Ollama endpoints, served by llm-service (see LLM-service routes)
- Swagger UI under
/swagger-ui/..., with a definition dropdown: "Backend", "Payment service", "Warehouse service", "Notification service" and "Delivery service" (the backend's/v3/api-docs.yamlis still served, but not listed) - OpenAPI under
/v3/api-docs(backend),/warehouse/v3/api-docs(warehouse-service),/payment/v3/api-docs(payment-service),/notification/v3/api-docs(notification-service) and/delivery/v3/api-docs(delivery-service) - actuator under
/actuator/... - traffic WebSocket under
/api/v1/ws-traffic - static images under
/images/...
Mermaid Diagrams¶
In every profile warehouse-, payment-, notification-, delivery- and
llm-service also call the backend's /internal/v1 API; those calls are left
out of the diagrams to keep them readable.
Lightweight¶
flowchart TB
U[Browser] --> G[Gateway 8081<br/>serves frontend + /images]
G --> F[Frontend]
G --> B[Backend]
G -->|warehouse + tracking paths| W[Warehouse Service<br/>internal 4003]
G -->|payment paths| PS[Payment Service<br/>internal 4004]
G -->|webhook + notification paths| NS[Notification Service<br/>internal 4005<br/>local outbox]
G -->|delivery paths + /mfe/delivery/| DS[Delivery Service<br/>internal 4006]
G -->|four Ollama paths| L[LLM Service<br/>internal 4007]
L --> O[Ollama Mock 11434]
B --> DB[(PostgreSQL, tmpfs)]
W --> DB
PS --> DB
NS --> DB
DS --> DB
Full¶
flowchart TB
U[Browser] --> G[Gateway 8081<br/>serves frontend + /images]
G --> F[Frontend]
G --> B[Backend]
G -->|warehouse + tracking paths| W[Warehouse Service<br/>internal 4003]
G -->|payment paths| PS[Payment Service<br/>internal 4004]
G -->|webhook + notification paths| NS[Notification Service<br/>internal 4005]
G -->|delivery paths + /mfe/delivery/| DS[Delivery Service<br/>internal 4006]
G -->|four Ollama paths| L[LLM Service<br/>internal 4007]
B --> DB[(Postgres 5432)]
W --> DB
PS --> DB
NS --> DB
DS --> DB
B --> MQ[ActiveMQ 8161/61616/5672] --> C[Consumer 4002] --> M[Mailpit 8025/1025]
NS --> MQ
MQ -->|commerce events| DS
L --> O[Ollama/DMR adapter 11434]
Opt-in fault-injection lab (-f docker-compose.chaos.yml or scripts/chaos up,
either local profile; see FAULT_INJECTION_LAB.md) and
tracing overlay (-f docker-compose.tracing.yml or make tracing-up):
flowchart LR
W[warehouse-service] --> T[Toxiproxy<br/>API 127.0.0.1:8474]
P[payment-service] --> T
N[notification-service] --> T
T --> B[backend]
T --> DB[(postgres)]
B --> T
S[backend, warehouse,<br/>payment, notification, llm] -->|OTLP 4318| J[Jaeger<br/>UI 127.0.0.1:16686]
Server¶
awesome.byst.re:
flowchart TB
U[Browser] --> CF[DNS / CDN / TLS edge] --> G[Gateway<br/>host awesome.byst.re]
G -->|/| F[Frontend]
G -->|/api| B[Backend<br/>docker,server profile]
G -->|warehouse paths| W[Warehouse Service<br/>internal, 160 MiB]
G -->|payment paths| PS[Payment Service<br/>internal, 160 MiB]
G -->|webhook + notification paths| NS[Notification Service<br/>internal, 160 MiB]
G -->|delivery paths| DS[Delivery Service<br/>internal, 64 MiB]
G -->|Ollama paths| L[LLM Service<br/>internal, 64 MiB]
B --> DB[(Postgres internal)]
W -->|schema warehouse| DB
PS -->|schema payment| DB
NS -->|schema notification| DB
DS -->|schema delivery| DB
B --> MQ[ActiveMQ internal] --> C[Consumer internal] --> MH[Mailpit private]
NS --> MQ
MQ -->|commerce events| DS
L --> O[Ollama Mock internal]
aitesters.byst.re (same gateway, separate sandbox services):
flowchart TB
U[Browser] --> CF[DNS / CDN / TLS edge] --> G[Gateway<br/>host aitesters.byst.re]
G -->|/| AF[Aitesters Frontend]
G -->|/api| AB[Aitesters Backend<br/>aitesters profile]
G -->|warehouse paths| AW[Aitesters Warehouse Service]
G -->|payment paths| APS[Aitesters Payment Service]
G -->|webhook + notification paths| ANS[Aitesters Notification Service<br/>local outbox]
G -->|delivery paths| ADS[Aitesters Delivery Service]
G -->|Ollama paths| AL[Aitesters LLM Service]
AB --> LO[Local email outbox]
AL --> O[Ollama Mock, shared]
AB --> APG[(aitesters-postgres)]
AW -->|schema warehouse| APG
APS -->|schema payment| APG
ANS -->|schema notification| APG
ADS -->|schema delivery| APG
Full Profile¶
Compose file:
docker-compose.yml
Start command:
This compose path intentionally runs the backend with docker,demo, so the local PostgreSQL-backed stack includes seeded demo users, products, and sample orders.
Stop command:
Recommended app URLs:
- frontend:
http://localhost:8081/login - Swagger UI:
http://localhost:8081/swagger-ui/index.html(definitions: "Backend", "Payment service", "Warehouse service", "Notification service" and "Delivery service") - OpenAPI JSON:
http://localhost:8081/v3/api-docs - warehouse-service OpenAPI JSON:
http://localhost:8081/warehouse/v3/api-docs - payment-service OpenAPI JSON:
http://localhost:8081/payment/v3/api-docs - notification-service OpenAPI JSON:
http://localhost:8081/notification/v3/api-docs - delivery-service OpenAPI JSON:
http://localhost:8081/delivery/v3/api-docs - public parcel tracking:
http://localhost:8081/api/v1/tracking/{trackingNumber} - sign in API:
http://localhost:8081/api/v1/users/signin - Toxiproxy API (with the fault-injection lab,
scripts/chaos up):http://127.0.0.1:8474 - Jaeger UI (with the tracing overlay,
make tracing-up):http://127.0.0.1:16686 - Artemis console (the
emailqueue):http://localhost:8161/console,admin/admin - images through gateway:
http://localhost:8081/images/iphone.png
Published host ports:
| Service | Host URL / Port | Notes |
|---|---|---|
| Gateway | http://localhost:8081 |
Main app entrypoint |
| Postgres | localhost:5432 |
Direct DB access (postgres / postgres, read-only tester / tester); pgweb at http://localhost:8081/db/ |
| ActiveMQ console | http://localhost:8161 |
Admin console |
| ActiveMQ JMS | localhost:61616 |
Broker port |
| ActiveMQ AMQP | localhost:5672 |
AMQP port |
| Mailpit UI | http://localhost:8025/ |
Dev inbox UI |
| Mailpit SMTP | localhost:1025 |
SMTP sink |
| Consumer metrics | http://localhost:4002/actuator/prometheus |
Direct metrics |
| Ollama | http://localhost:11434/api/tags |
Raw model API (Docker Model Runner adapter) |
What is internal only:
- backend raw port
4001 - warehouse-service raw port
4003 - payment-service raw port
4004 - notification-service raw port
4005 - delivery-service raw port
4006 - llm-service raw port
4007 - frontend raw port
80
Lightweight Profile¶
Compose file:
lightweight-docker-compose.yml
Start command:
Stop command:
Recommended app URLs:
- frontend:
http://localhost:8081/login - Swagger UI:
http://localhost:8081/swagger-ui/index.html(definitions: "Backend", "Payment service", "Warehouse service", "Notification service" and "Delivery service") - OpenAPI JSON:
http://localhost:8081/v3/api-docs - warehouse-service OpenAPI JSON:
http://localhost:8081/warehouse/v3/api-docs - payment-service OpenAPI JSON:
http://localhost:8081/payment/v3/api-docs - notification-service OpenAPI JSON:
http://localhost:8081/notification/v3/api-docs - delivery-service OpenAPI JSON:
http://localhost:8081/delivery/v3/api-docs - public parcel tracking:
http://localhost:8081/api/v1/tracking/{trackingNumber} - sign in API:
http://localhost:8081/api/v1/users/signin - Toxiproxy API (with the fault-injection lab,
scripts/chaos up):http://127.0.0.1:8474 - Jaeger UI (with the tracing overlay,
make tracing-up):http://127.0.0.1:16686 - pgweb, the read-only database UI:
http://localhost:8081/db/ - images through gateway:
http://localhost:8081/images/iphone.png
Published host ports:
| Service | Host URL / Port | Notes |
|---|---|---|
| Gateway | http://localhost:8081 |
Main app entrypoint; pgweb (read-only database UI) at /db/ |
| Postgres | 127.0.0.1:15432 |
Database clients: testdb, tester / tester (read-only) or postgres / postgres; DB_HOST_PORT moves it |
| Ollama mock | http://localhost:11434 |
Mocked LLM API |
What is not included:
- ActiveMQ (emails stay in the local outboxes)
- Mailpit
- consumer
Local Login Credentials¶
Application password-login users:
| Role | Username | Password |
|---|---|---|
| Admin | admin |
LocalDemoAdmin123! |
| Client | client |
client |
| Client | client2 |
client2 |
| Client | client3 |
client3 |
| Warehouse | warehouse |
warehouse |
SSO, the mocked Google/GitHub social login and Keycloak (port 8082) were
removed from every profile on 2026-11-12 (backend 3.18.0 and frontend 3.13.0 have
no SSO code).
What is internal only:
- backend raw port
4001 - warehouse-service raw port
4003 - payment-service raw port
4004 - notification-service raw port
4005 - delivery-service raw port
4006 - llm-service raw port
4007 - frontend raw port
80
Server Profile¶
Compose file:
docker-compose.server.yml
Deployment command:
Direct server stop command on the VPS:
Recommended public URLs:
Stable public playground:
- frontend:
https://awesome.byst.re/login - Swagger UI:
https://awesome.byst.re/swagger-ui/index.html(definitions: "Backend", "Payment service", "Warehouse service", "Notification service" and "Delivery service") - OpenAPI JSON:
https://awesome.byst.re/v3/api-docs - warehouse-service OpenAPI JSON:
https://awesome.byst.re/warehouse/v3/api-docs - payment-service OpenAPI JSON:
https://awesome.byst.re/payment/v3/api-docs - notification-service OpenAPI JSON:
https://awesome.byst.re/notification/v3/api-docs - delivery-service OpenAPI JSON:
https://awesome.byst.re/delivery/v3/api-docs - public parcel tracking:
https://awesome.byst.re/api/v1/tracking/{trackingNumber} - public courier tracking:
https://awesome.byst.re/api/v1/deliveries/track/{trackingCode} - sign in API:
https://awesome.byst.re/api/v1/users/signin - authenticated email events:
https://awesome.byst.re/api/v1/users/me/email-events - images through gateway:
https://awesome.byst.re/images/iphone.png
Disposable API/UI testing sandbox:
- frontend:
https://aitesters.byst.re/login - Swagger UI:
https://aitesters.byst.re/swagger-ui/index.html(definitions: "Backend", "Payment service", "Warehouse service", "Notification service" and "Delivery service") - OpenAPI JSON:
https://aitesters.byst.re/v3/api-docs - warehouse-service OpenAPI JSON:
https://aitesters.byst.re/warehouse/v3/api-docs - payment-service OpenAPI JSON:
https://aitesters.byst.re/payment/v3/api-docs - notification-service OpenAPI JSON:
https://aitesters.byst.re/notification/v3/api-docs - delivery-service OpenAPI JSON:
https://aitesters.byst.re/delivery/v3/api-docs - sign in API:
https://aitesters.byst.re/api/v1/users/signin - local email outbox:
https://aitesters.byst.re/api/v1/local/email/outbox - images through gateway:
https://aitesters.byst.re/images/iphone.png
Rate-limit capacities keyed by IP are intentionally increased for repeated parallel course and regression-suite runs, because a whole classroom shares one address. Policies keyed by one account (MFA per user, password-forgot per identifier) stay strict: course suites use a fresh account per test, so 20 requests per window protect a single account without slowing classes. Policy windows remain unchanged from the backend defaults.
| Policy | awesome.byst.re |
aitesters.byst.re |
|---|---|---|
| Signup per IP | 2,000 | 2,000 |
| Sign-in per IP | 4,000 | 4,000 |
| Sign-in per username | 2,000 | 2,000 |
| Sign-in per IP and username | 1,000 | 1,000 |
| MFA per IP | 600 | 600 |
| MFA per challenge | 80 | 80 |
| MFA per user | 20 | 20 |
| Password-forgot per IP | 2,000 | 100 |
| Password-forgot per identifier | 20 | 20 |
| Password-reset per IP | 2,000 | 100 |
| Refresh per IP | 12,000 | 600 |
| Email per user | 6,000 | 300 |
| QR per user | 12,000 | 600 |
| Ollama per user | 4,000 | 200 |
| Ollama per IP | 4,000 | 200 |
Hostname notes:
awesome.byst.reis the stable production-like playground.aitesters.byst.reis a disposable sandbox for admin and mutation-heavy tests.aitesters.awesome.byst.reis accepted as an nginx alias, but it is not the recommended public URL because the current wildcard TLS certificate covers*.byst.re, not nested names such as*.awesome.byst.re.
Published host ports:
| Service | Host URL / Port | Notes |
|---|---|---|
| Gateway | 80/tcp |
Public app entrypoint, usually behind public hostname |
Not published on the host:
- Postgres
5432 - Mailpit UI
8025 - Mailpit SMTP
1025 - ActiveMQ console
8161 - ActiveMQ JMS
61616 - consumer
4002 - backend
4001 - warehouse-service
4003 - payment-service
4004 - notification-service
4005 - delivery-service
4006 - llm-service
4007 - frontend
80 - aitesters-backend
4001 - aitesters-frontend
80 - aitesters-warehouse-service
4003 - aitesters-payment-service
4004 - aitesters-notification-service
4005 - aitesters-delivery-service
4006 - aitesters-llm-service
4007 - ollama-mock
11434
Special behavior:
- Swagger and OpenAPI are intentionally public as part of the demo surface
https://awesome.byst.re/mailpit/api/v1/messagesis blocked with404https://awesome.byst.re/mailpit/is blocked with404- Mailpit remains available only through SSH tunnelling to remote
127.0.0.1:8025 aitesters.byst.reruns the current backend image with theaitestersprofile (SPRING_PROFILES_ACTIVE, a name kept for compatibility)- its frontend is the same current frontend image used by
awesome.byst.re aitesters.byst.reuses its ownaitesters-postgres(Flyway migrations, like production) and seeded local demo users, including the demo admin; the daily reset starts it from a fresh volumeaitesters.byst.reexposes local/test helpers such as/api/v1/local/email/outboxby designaitesters.byst.reis reset daily by theaitesters-reset.timersystemd timer- Waitcher checks the home page,
/actuator/healthand the TLS certificate of both sites from outside; the deploy's verify role requests the public login and OpenAPI routes of both sites aitesters.byst.rehas its ownaitesters-warehouse-service,aitesters-payment-service,aitesters-notification-service,aitesters-delivery-service(onaitesters-postgres) andaitesters-llm-service, with their own tokens, webhook secret and encryption key, so sandbox tokens and data never reach the stable site; its commerce emails stay in/api/v1/local/notifications/outbox(same key as the backend's local outbox)/internal/returns404on every host; the backend internal API is reachable only from warehouse-, payment-, notification-, delivery- and llm-service on the Compose network- there is no metrics stack in production (lean monitoring phase C); the host
watchdog (
awesome-watchdog.timer) reports unhealthy, exited or missing containers, OOM kills, disk, memory and backup problems to a Vault-configured Telegram chat and sends a heartbeat to Waitcher
Gateway Route Map¶
Local Gateway¶
nginx/conf.d/lightweight-app-gateway.conf (used by the lightweight and full
profiles) handles:
/api/v1/ws-traffic-> backend- warehouse-service routes -> warehouse-service
- payment-service routes -> payment-service
- notification-service routes -> notification-service
- delivery-service routes -> delivery-service
- LLM-service routes -> llm-service
/internal/->404/api/v1/-> backend- any other
/apipath (= /api,/api/) ->404JSON{"message":"Not found"} /swagger-ui/-> backend/v3/api-docs-> backend/actuator/-> backend/images/-> gateway static files/-> frontend
Server Gateway¶
nginx/conf.d/app-gateway.conf handles:
For awesome.byst.re:
/api/v1/ws-traffic-> backend- warehouse-service routes -> warehouse-service
- payment-service routes -> payment-service
- notification-service routes -> notification-service
- delivery-service routes -> delivery-service
- LLM-service routes -> llm-service
/internal/->404/api/v1/-> backend- any other
/apipath (= /api,/api/) ->404JSON{"message":"Not found"} /swagger-ui/-> backend/v3/api-docs-> backend/actuator/-> backend/images/-> gateway static files/mailpit,/mailpit/, and/mailpit/api/->404/-> frontend
For aitesters.byst.re:
/api/v1/ws-traffic-> aitesters-backend- warehouse-service routes -> aitesters-warehouse-service
- payment-service routes -> aitesters-payment-service
- notification-service routes -> aitesters-notification-service
- delivery-service routes -> aitesters-delivery-service
- LLM-service routes -> aitesters-llm-service
/internal/->404/api/v1/-> aitesters-backend- any other
/apipath (= /api,/api/) ->404JSON{"message":"Not found"} /swagger-ui/-> aitesters-backend/v3/api-docs-> aitesters-backend/actuator/-> aitesters-backend/images/-> gateway static files/-> aitesters-frontend
Warehouse-service routes¶
Both application gateways send these paths to warehouse-service:4003
(aitesters-warehouse-service:4003 for aitesters.byst.re). They take
precedence over the generic /api/v1/ backend route:
| Gateway location | Example |
|---|---|
/api/v1/warehouse/ |
/api/v1/warehouse/queue |
= /api/v1/returns, /api/v1/returns/ |
/api/v1/returns/7 |
= /api/v1/admin/returns, /api/v1/admin/returns/ |
/api/v1/admin/returns/3/approve |
= /api/v1/admin/suppliers, /api/v1/admin/suppliers/ |
/api/v1/admin/suppliers/2 |
= /api/v1/admin/purchase-orders, /api/v1/admin/purchase-orders/ |
/api/v1/admin/purchase-orders/9/receipts |
= /api/v1/admin/inventory/reorder-suggestions |
exact path only |
~ ^/api/v1/orders/\d+/(shipment\|shipments\|shipment/tracking\|returns)$ |
/api/v1/orders/42/shipment/tracking, /api/v1/orders/42/shipments (every parcel, warehouse-service 1.5.0) |
/api/v1/tracking/ |
/api/v1/tracking/1Z999AA10123456784 (public, no token) |
^~ /warehouse/v3/api-docs |
rewritten to warehouse-service /v3/api-docs |
/warehouse and /warehouse/... (other than the OpenAPI path) remain frontend
routes. The gateway addresses warehouse-service through Docker DNS at request
time, so it starts and keeps serving the backend when warehouse-service is
absent; warehouse paths then return 502.
Payment-service routes¶
Both application gateways send these paths to payment-service:4004
(aitesters-payment-service:4004 for aitesters.byst.re), through the
request-time $payment_upstream variable, ahead of the generic /api/v1/
backend route:
| Gateway location | Example |
|---|---|
= /api/v1/payments |
POST /api/v1/payments (header Idempotency-Key) |
/api/v1/payments/ |
POST /api/v1/payments/{id}/3ds, GET /api/v1/payments/{id} |
= /api/v1/admin/payments |
GET /api/v1/admin/payments?status=FAILED |
~ ^/api/v1/orders/\d+/payments$ |
GET /api/v1/orders/42/payments |
^~ /payment/v3/api-docs |
rewritten to payment-service /v3/api-docs |
Other /api/v1/orders/... paths stay on the backend. Without payment-service
the payment paths return 502 and everything else keeps working. See
PAYMENT_SERVICE_CONTRACT.md.
Notification-service routes¶
Both application gateways send these paths to notification-service:4005
(aitesters-notification-service:4005 for aitesters.byst.re), through the
request-time $notification_upstream variable, ahead of the generic /api/v1/
backend route:
| Gateway location | Example |
|---|---|
= /api/v1/webhooks, /api/v1/webhooks/ |
POST /api/v1/webhooks, GET /api/v1/webhooks/12/deliveries |
= /api/v1/webhook-inboxes, /api/v1/webhook-inboxes/ |
GET /api/v1/webhook-inboxes/{token}/requests |
= /api/v1/admin/webhooks |
GET /api/v1/admin/webhooks |
/api/v1/notifications/ |
GET /api/v1/notifications/emails |
/api/v1/local/notifications/ |
GET /api/v1/local/notifications/outbox |
^~ /notification/v3/api-docs |
rewritten to notification-service /v3/api-docs |
The backend keeps account emails, including /api/v1/local/email/outbox and
/api/v1/users/me/email-events. Without notification-service these paths
return 502 and everything else keeps working. See
NOTIFICATION_SERVICE_CONTRACT.md.
Delivery-service routes¶
Both application gateways send these paths to delivery-service:4006
(aitesters-delivery-service:4006 for aitesters.byst.re), through the
request-time $delivery_upstream variable, ahead of the generic /api/v1/
backend route:
| Gateway location | Example |
|---|---|
= /api/v1/deliveries, /api/v1/deliveries/ |
GET /api/v1/deliveries/7, GET /api/v1/deliveries/track/{code} (public) |
/api/v1/admin/deliveries/ |
GET /api/v1/admin/deliveries/courier |
~ ^/api/v1/orders/\d+/delivery$ |
GET /api/v1/orders/42/delivery |
^~ /delivery/v3/api-docs |
rewritten to delivery-service /v3/api-docs |
^~ /mfe/delivery/ |
/mfe/delivery/remote.js, the tracking micro-frontend the frontend loads at run time |
The frontend pages /orders/:id/delivery and /deliveries stay frontend
routes. Without delivery-service these paths return 502, the pages show
"Delivery tracking is unavailable" and everything else keeps working. See
DELIVERY_SERVICE_CONTRACT.md.
LLM-service routes¶
Both application gateways send exactly four paths to llm-service:4007
(aitesters-llm-service:4007 for aitesters.byst.re), with the backend
location's proxy settings:
| Gateway location | Example |
|---|---|
= /api/v1/ollama/generate |
POST, SSE stream |
= /api/v1/ollama/chat |
POST, SSE stream |
= /api/v1/ollama/chat/tools |
POST, SSE stream of the tool loop |
= /api/v1/ollama/chat/tools/definitions |
GET |
Any other /api/v1/ollama/... path stays on the backend. The course
compatibility stack has no gateway in front of its backends; a pass-through
router on 127.0.0.1:14001 and :14002 sends the same four paths to
llm-service and admin-llm-service. See
LLM_SERVICE_CONTRACT.md.
Verification Commands¶
Full local:
curl -i http://localhost:8081/login
curl -i http://localhost:8081/v3/api-docs
curl -i http://localhost:8081/warehouse/v3/api-docs
curl -i http://localhost:8081/payment/v3/api-docs
curl -i http://localhost:8081/notification/v3/api-docs
curl -i http://localhost:8081/delivery/v3/api-docs
curl -i http://localhost:8081/mfe/delivery/remote.js
curl -i http://localhost:8081/internal/v1/orders/1
curl -i http://localhost:8081/images/iphone.png
curl -i http://localhost:8025/
docker compose ps warehouse-service payment-service notification-service delivery-service llm-service
Most of the Rust service images are distroless (no shell; they run their own
binary as the healthcheck), so check their health through docker compose ps
or from the gateway container, as in the server checks below.
The internal URL must return 404; the other gateway URLs return 200.
Lightweight local:
curl -i http://localhost:8081/login
curl -i http://localhost:8081/v3/api-docs
curl -i http://localhost:8081/delivery/v3/api-docs
curl -i http://localhost:8081/images/iphone.png
curl -i -X POST http://localhost:11434/api/generate \
-H 'Content-Type: application/json' \
-d '{"model":"qwen3.5:2b","prompt":"Provide a motivational quote","stream":false}'
Student-oriented lightweight smoke test:
docker compose -f lightweight-docker-compose.yml up -d
docker compose -f lightweight-docker-compose.yml ps
curl -i http://localhost:8081/login
curl -i http://localhost:8081/v3/api-docs
curl -i http://localhost:8081/images/iphone.png
curl -i -X POST http://localhost:11434/api/generate \
-H 'Content-Type: application/json' \
-d '{"model":"qwen3.5:2b","prompt":"Provide a motivational quote","stream":false}'
Expected:
- 12 services are
Upand the one-shotspostgres-rolesanddb-tester-roleareExited (0)(docker compose ps -ashows them) loginreturns200v3/api-docsreturns200- image request returns
200 - mock LLM generate request returns
200
Server:
curl -i https://awesome.byst.re/login
curl -i https://awesome.byst.re/v3/api-docs
curl -i https://awesome.byst.re/warehouse/v3/api-docs
curl -i https://awesome.byst.re/payment/v3/api-docs
curl -i https://awesome.byst.re/notification/v3/api-docs
curl -i https://awesome.byst.re/delivery/v3/api-docs
curl -i https://awesome.byst.re/api/v1/tracking/UNKNOWN
curl -i https://awesome.byst.re/internal/v1/orders/1
curl -i https://awesome.byst.re/images/iphone.png
curl -i https://awesome.byst.re/mailpit/api/v1/messages
curl -i https://aitesters.byst.re/login
curl -i https://aitesters.byst.re/v3/api-docs
curl -i https://aitesters.byst.re/warehouse/v3/api-docs
curl -i https://aitesters.byst.re/payment/v3/api-docs
curl -i https://aitesters.byst.re/notification/v3/api-docs
curl -i https://aitesters.byst.re/delivery/v3/api-docs
curl -i https://aitesters.byst.re/images/iphone.png
curl -i https://aitesters.byst.re/api/v1/local/email/outbox
Expected:
awesome.byst.re/loginreturns200awesome.byst.re/v3/api-docsreturns200awesome.byst.re/warehouse/v3/api-docsreturns200awesome.byst.re/payment/v3/api-docsreturns200awesome.byst.re/notification/v3/api-docsreturns200awesome.byst.re/delivery/v3/api-docsreturns200awesome.byst.re/api/v1/tracking/UNKNOWNreturns404from warehouse-service (no token needed)awesome.byst.re/internal/v1/orders/1returns404awesome.byst.re/images/iphone.pngreturns200awesome.byst.re/mailpit/api/v1/messagesreturns404aitesters.byst.re/loginreturns200aitesters.byst.re/v3/api-docsreturns200aitesters.byst.re/images/iphone.pngreturns200aitesters.byst.re/warehouse/v3/api-docsreturns200aitesters.byst.re/payment/v3/api-docsreturns200aitesters.byst.re/notification/v3/api-docsreturns200aitesters.byst.re/delivery/v3/api-docsreturns200aitesters.byst.re/api/v1/local/email/outboxreturns401without a token (an admin JWT and theX-Local-Outbox-Keyheader are required)
Internal-only checks on the VPS:
cd /opt/awesome-localstack
docker compose -f docker-compose.server.yml exec gateway curl -i http://backend:4001/actuator/health
docker compose -f docker-compose.server.yml exec gateway curl -i http://consumer:4002/actuator/prometheus
docker compose -f docker-compose.server.yml exec gateway curl -i http://warehouse-service:4003/actuator/health
docker compose -f docker-compose.server.yml exec gateway curl -i http://warehouse-service:4003/v3/api-docs
docker compose -f docker-compose.server.yml exec gateway curl -i http://payment-service:4004/actuator/health
docker compose -f docker-compose.server.yml exec gateway curl -i http://payment-service:4004/v3/api-docs
docker compose -f docker-compose.server.yml exec gateway curl -i http://notification-service:4005/actuator/health
docker compose -f docker-compose.server.yml exec gateway curl -i http://notification-service:4005/v3/api-docs
docker compose -f docker-compose.server.yml exec gateway curl -i http://delivery-service:4006/actuator/health
docker compose -f docker-compose.server.yml exec gateway curl -i http://llm-service:4007/actuator/health
docker compose -f docker-compose.server.yml exec gateway curl -i http://localhost/images/iphone.png
docker compose -f docker-compose.server.yml exec gateway curl -i http://activemq:8161
GraphiQL¶
The backend serves GraphiQL at /api/v1/graphiql on the same origin as the
app, for example http://localhost:8081/api/v1/graphiql; the /api/v1/ gateway
route covers this URL. Enter a bearer access token in the editor's Headers tab for schema
exploration and queries. Swagger remains the REST API explorer.
See the backend's GraphiQL usage (written for the original Java backend, archived; backend-rs keeps the behaviour).
Native gRPC¶
docker-compose.grpc.yml publishes the backend's gRPC listener on host loopback
127.0.0.1:9091. It preserves the selected base application's
profiles; GraphQL and GraphiQL remain available over the existing HTTP gateway.
Native gRPC has no public nginx route, health requires an
administrator JWT, and server reflection is disabled. See gRPC setup.
The frontend's Traffic Monitor also shows protocol summaries. Supply its displayed session ID in GraphiQL headers or native gRPC metadata. See the protocol lab.
The server profile publishes native gRPC on two loopback-only host ports: 127.0.0.1:9091 for the stable backend and 127.0.0.1:9092 for the
aitesters sandbox. Reach them through an SSH tunnel.
There is no public gRPC nginx route. Full and lightweight profiles retain the
optional override described above.