- Fix MOSQUITTO_HOST (wrong container name) - Fix EMQX_PORT (1885 external -> 1883 internal) - Fix telegraf MQTT topics (city/sensors/#) - Fix BunkerM dynsec JSON - Add kepler.yml Traefik config - Update monitoring script
35 lines
1015 B
YAML
35 lines
1015 B
YAML
# Orion Context Broker - Using existing MongoDB
|
|
# Usage: docker compose -f docker-compose.yml -f docker-compose.orion-ld.yml up -d
|
|
version: '3.8'
|
|
|
|
services:
|
|
orion-ld:
|
|
image: fiware/orion-ld:latest
|
|
container_name: smart-city-orion-ld
|
|
restart: unless-stopped
|
|
networks:
|
|
smartcity-shared:
|
|
aliases:
|
|
- orion-ld
|
|
- smart-city-orion-ld
|
|
traefik-public:
|
|
command: -dbhost smart-city-iot-mongodb -db orion
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost:1026/version || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 60s
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.orion-ld.rule=Host(`orion-ld.digitribe.fr`)"
|
|
- "traefik.http.routers.orion-ld.entrypoints=websecure"
|
|
- "traefik.http.routers.orion-ld.tls=true"
|
|
- "traefik.http.services.orion-ld.loadbalancer.server.port=1026"
|
|
|
|
networks:
|
|
smartcity-shared:
|
|
external: true
|
|
traefik-public:
|
|
external: true
|