Files
smart-city-digital-twin-mar…/docker-compose.orion-ld.yml

35 lines
1011 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-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