Add map with gates

This commit is contained in:
Ettore
2026-05-10 17:56:49 +02:00
parent 9f703c1bfa
commit 7e84587788
21 changed files with 865 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
![](./src/static/logo.svg)
![](./src/static/images/logo.svg)
# Lagomare Gates
@@ -161,6 +161,16 @@ All settings are read from environment variables (centralised in `src/core/confi
|---|---|---|
| `DATABASE_URL` | `sqlite:///data/gates.db` | SQLAlchemy database URL. |
### Map (home location)
| Variable | Default | Description |
|---|---|---|
| `HOME_LAT` | *(none)* | WGS-84 latitude of the home/property marker shown on the frontend map. |
| `HOME_LON` | *(none)* | WGS-84 longitude of the home/property marker. |
| `HOME_NAME` | `Home` | Display name for the home marker popup. |
If `HOME_LAT` and `HOME_LON` are both set, the map is always visible. If only gates have coordinates (set per-gate in the admin panel), the map is shown only when at least one gate has a location.
### Network / reverse proxy
| Variable | Default | Description |