Fix GeoMap dashboard v3 - temperature_celsius + Geomap layer config

Fixes:
- Temperature field: temperature_c (wrong) -> temperature_celsius (correct)
- Geomap panel: added explicit location config with lat/lon field mapping
- Added PM2.5 timeseries panel
- Dashboard UID: geomap-test-v1
This commit is contained in:
Eric FELIXINE
2026-05-26 13:52:25 -04:00
parent 7643d88ffb
commit a7716102fd
6 changed files with 272 additions and 118 deletions

View File

@@ -1,9 +1,7 @@
# Apache Superset - BI Dashboard for Smart City Digital Twin
# Usage: docker compose -f docker-compose.superset.yml up -d
# Apache Superset - Smart City Digital Twin
# Uses official apache/superset Docker Hub image
# Access: https://superset.digitribe.fr
version: '3.8'
networks:
smartcity-shared:
external: true
@@ -11,69 +9,22 @@ networks:
external: true
volumes:
superset_data:
name: smart-city-superset-data
superset_redis:
name: smart-city-superset-redis
superset_home:
services:
superset-redis:
image: redis:7-alpine
container_name: superset-redis
restart: unless-stopped
networks:
- smartcity-shared
volumes:
- superset_redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
superset-db:
image: postgres:15-alpine
container_name: superset-postgres
restart: unless-stopped
networks:
- smartcity-shared
environment:
POSTGRES_DB: superset
POSTGRES_USER: superset
POSTGRES_PASSWORD: Digitribe972
volumes:
- superset_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U superset"]
interval: 10s
timeout: 5s
retries: 5
superset:
image: apache/superset:4.0.0
image: apache/superset:latest
container_name: superset-app
restart: unless-stopped
networks:
- smartcity-shared
- traefik-public
depends_on:
superset-db:
condition: service_healthy
superset-redis:
condition: service_healthy
environment:
SUPERSET_SECRET_KEY: superset-secret-key-change-me-2024
DATABASE_DIALECT: postgresql
DATABASE_HOST: superset-postgres
DATABASE_PORT: 5432
DATABASE_DB: superset
DATABASE_USER: superset
DATABASE_PASSWORD: Digitribe972
REDIS_HOST: superset-redis
REDIS_PORT: 6379
SUPERSET_ENV: production
SUPERSET_LOAD_EXAMPLES: "false"
MAPBOX_API_KEY: ""
# Use Superset's built-in SQLite for metadata (simplest setup)
# For production, replace with PostgreSQL
SUPERSET_SECRET_KEY: superset-secret-key-2024-change-me
volumes:
- superset_home:/app/superset_home
labels:
- "traefik.enable=true"
- "traefik.http.routers.superset.rule=Host(`superset.digitribe.fr`)"
@@ -83,6 +34,6 @@ services:
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8088/health || exit 1"]
interval: 30s
timeout: 10s
timeout: 15s
retries: 5
start_period: 120s