Add map with gates
This commit is contained in:
12
README.md
12
README.md
@@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
# 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 |
|
||||
|
||||
Reference in New Issue
Block a user