Skip to content

Instantly share code, notes, and snippets.

@pniaps
Last active March 10, 2020 18:37
Show Gist options
  • Save pniaps/7c57e3f99d0b392b0ae48c53eec8b8f3 to your computer and use it in GitHub Desktop.
Save pniaps/7c57e3f99d0b392b0ae48c53eec8b8f3 to your computer and use it in GitHub Desktop.
docker-compose -f docker-compose-demo.yml up -d
version: '3'
services:
orion:
image: fiware/orion
ports:
- "1026:1026"
command: -logLevel DEBUG -noCache -dbhost mongo
depends_on:
- mongo
healthcheck:
test: ["CMD", "curl", "-f", "http://0.0.0.0:1026/version"]
interval: 1m
timeout: 10s
retries: 3
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- mongodata:/data/db
quantumleap:
image: smartsdk/quantumleap
ports:
- "8668:8668"
depends_on:
- mongo
- orion
- crate
environment:
- CRATE_HOST=crate
crate:
image: crate
ports:
# Admin UI
- "4200:4200"
# Transport protocol
- "4300:4300"
command: -Ccluster.name=democluster -Chttp.cors.enabled=true -Chttp.cors.allow-origin="*"
volumes:
- cratedata:/data
grafana:
image: grafana/grafana
ports:
- "3000:3000"
environment:
- GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-worldmap-panel
depends_on:
- crate
volumes:
mongodata:
cratedata:
redisdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment