chore: Smart City update - QuantumLeap fix, IoT-Agent integration, simulator update
This commit is contained in:
38
docker-compose.orion-ld.yml
Normal file
38
docker-compose.orion-ld.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# Orion-LD Context Broker for Smart City Digital Twin
|
||||
# Usage: docker compose -f docker-compose.yml -f docker-compose.orion-ld.yml up -d
|
||||
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
orion-ld:
|
||||
image: quay.io/fiware/orion-ld:latest
|
||||
container_name: smart-city-orion-ld
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- smartcity-shared
|
||||
- traefik-public
|
||||
ports:
|
||||
- "1026:1026"
|
||||
environment:
|
||||
- ORION_PORT=1026
|
||||
- ORIONLD_MONGO_HOST=smart-city-mongodb
|
||||
- ORIONLD_MONGO_PORT=27017
|
||||
command: orionld -fg -multiservice -dbhost smart-city-mongodb -dbport 27017
|
||||
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
|
||||
Reference in New Issue
Block a user