You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the **staging** server (separate host or separate path on the same host; must match the `staging` environment's `DEPLOY_PATH` and expose `/health` on `HEALTH_PORT`):
|`HEALTH_PORT`|`8080`| GET `/health` JSON endpoint |
234
+
|`HEALTH_BIND_HOST`|`127.0.0.1`| Bind address for the health server (localhost-only). Use `0.0.0.0` inside Docker when publishing ports to the host; see `docker-compose.yml`. |
|`POLL_INTERVAL_MINUTES`|`30`| Main polling cycle interval |
233
-
|`POLL_OVERRUN_COOLDOWN_SECONDS`|`300`| Minimum sleep after a poll cycle that overran the interval (avoids tight loops when work or errors stretch a cycle) |
234
-
|`ENABLE_BULK_WG21`|`true`| Fetch wg21.link/index.json each cycle |
235
-
|`ENABLE_BULK_OPENSTD`|`true`| Reserved for open-std.org scraping (not yet scheduled) |
236
-
|`ENABLE_ISO_PROBE`|`true`| Run isocpp.org HEAD probing each cycle |
|`POLL_INTERVAL_MINUTES`|`30`| Main polling cycle interval|
241
+
|`POLL_OVERRUN_COOLDOWN_SECONDS`|`300`| Minimum sleep after a poll cycle that overran the interval (avoids tight loops when work or errors stretch a cycle) |
242
+
|`ENABLE_BULK_WG21`|`true`| Fetch wg21.link/index.json each cycle|
243
+
|`ENABLE_BULK_OPENSTD`|`true`| Reserved for open-std.org scraping (not yet scheduled)|
244
+
|`ENABLE_ISO_PROBE`|`true`| Run isocpp.org HEAD probing each cycle|
237
245
238
246
### Probe Prefixes / Extensions
239
247
@@ -302,7 +310,7 @@ All parameters are configurable via environment variables or a `.env` file. See
302
310
## Architecture
303
311
304
312
```
305
-
paperscout-python/
313
+
paperscout/
306
314
src/paperscout/
307
315
__main__.py Entry point; wires together all components
|`LOG_RETENTION_DAYS`|`7`| Days of rotated log files to retain. |
205
+
|`HEALTH_PORT`| No |`8080`| Port for the `GET /health` endpoint. |
206
+
|`HEALTH_BIND_HOST`| No |`127.0.0.1`| Bind host for health server; use `0.0.0.0` in Docker when publishing ports. |
205
207
206
-
**Note:**`health_port` (default `8080`) exists in [Settings](../src/paperscout/config.py) but is not listed in `.env.example`. You can still set `HEALTH_PORT` in `.env` if you need to override the default.
208
+
Docker Compose sets `HEALTH_BIND_HOST=0.0.0.0` so the health endpoint accepts connections through published ports.
0 commit comments