docs: update infrastructure documentation for Leaflet OSM migration
This commit is contained in:
@@ -142,6 +142,16 @@
|
|||||||
| `/home/eric/flexmeasures/docker-compose.yml` | FM core stack |
|
| `/home/eric/flexmeasures/docker-compose.yml` | FM core stack |
|
||||||
| `/home/eric/flexmeasures/docker-compose.openadr.yml` | OpenADR VTN/VEN |
|
| `/home/eric/flexmeasures/docker-compose.openadr.yml` | OpenADR VTN/VEN |
|
||||||
| `/home/eric/cariflex/config/docker-compose-citrineos.yml` | CitrineOS stack |
|
| `/home/eric/cariflex/config/docker-compose-citrineos.yml` | CitrineOS stack |
|
||||||
|
| `/home/eric/cariflex/config/docker-compose-citrineos-ui-noproxy.yml` | UI without Traefik (testing) |
|
||||||
|
|
||||||
|
### CitrineOS Operator UI
|
||||||
|
- **URL**: https://citrineos.digitribe.fr
|
||||||
|
- **Image**: `citrineos-core-main-citrine-ui:latest` (custom build)
|
||||||
|
- **Build**: `cd /home/eric/cariflex/tools/citrineos-core-main && docker compose -f docker-compose.local.yml build citrine-ui`
|
||||||
|
- **Tech stack**: Next.js 15.2, React 19, Refine, Leaflet + OpenStreetMap
|
||||||
|
- **Map**: Replaced Google Maps with Leaflet + OpenStreetMap (no API key needed)
|
||||||
|
- **Geocoding**: Nominatim OSM (free, no API key)
|
||||||
|
- **Dependencies**: `leaflet`, `react-leaflet`, `@types/leaflet`
|
||||||
|
|
||||||
### Deployment Commands
|
### Deployment Commands
|
||||||
```bash
|
```bash
|
||||||
@@ -154,6 +164,9 @@ cd /home/eric/flexmeasures && docker compose -f docker-compose.openadr.yml up -d
|
|||||||
# CitrineOS stack
|
# CitrineOS stack
|
||||||
cd /home/eric/cariflex/config && docker compose -f docker-compose-citrineos.yml up -d
|
cd /home/eric/cariflex/config && docker compose -f docker-compose-citrineos.yml up -d
|
||||||
|
|
||||||
|
# Rebuild UI (after code changes)
|
||||||
|
cd /home/eric/cariflex/tools/citrineos-core-main && docker compose -f docker-compose.local.yml build citrine-ui && docker compose -f docker-compose-citrineos.yml up -d citrineos-operator-ui
|
||||||
|
|
||||||
# Verify all
|
# Verify all
|
||||||
docker ps --format "table {{.Names}}\t{{.Status}}" | grep -E "flexmeasures|openadr|citrine|grafana"
|
docker ps --format "table {{.Names}}\t{{.Status}}" | grep -E "flexmeasures|openadr|citrine|grafana"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user