Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fiware
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platinum
fiware
Commits
676f2cf2
Commit
676f2cf2
authored
Jul 03, 2019
by
jpalanca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uploaded docker-compose file
parent
085e3e42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
102 additions
and
0 deletions
+102
-0
docker-compose.yml
docker-compose.yml
+102
-0
No files found.
docker-compose.yml
0 → 100644
View file @
676f2cf2
# WARNING: Do not deploy this tutorial configuration directly to a production environment
#
# The tutorial docker-compose files have not been written for production deployment and will not
# scale. A proper architecture has been sacrificed to keep the narrative focused on the learning
# goals, they are just used to deploy everything onto a single Docker machine. All FIWARE components
# are running at full debug and extra ports have been exposed to allow for direct calls to services.
# They also contain various obvious security flaws - passwords in plain text, no load balancing,
# no use of HTTPS and so on.
#
# This is all to avoid the need of multiple machines, generating certificates, encrypting secrets
# and so on, purely so that a single docker-compose file can be read as an example to build on,
# not use directly.
#
# When deploying to a production environment, please looking at the SmartSDK Recipes
# in order to scale up to a proper architecture:
#
# see: https://smartsdk.github.io/smartsdk-recipes/
#
version
:
"
3.5"
services
:
# Orion is the context broker
orion
:
image
:
fiware/orion:2.2.0
hostname
:
orion
container_name
:
fiware-orion
depends_on
:
-
mongo-db
networks
:
-
default
expose
:
-
"
1026"
ports
:
-
"
1026:1026"
command
:
-dbhost mongo-db -logLevel DEBUG
healthcheck
:
test
:
curl --fail -s http://orion:1026/version || exit 1
# Quantum Leap is persisting Short Term History to Crate-DB
quantumleap
:
image
:
smartsdk/quantumleap:0.6.1
hostname
:
quantumleap
container_name
:
fiware-quantumleap
ports
:
-
"
8668:8668"
depends_on
:
-
crate-db
environment
:
-
CRATE_HOST=crate-db
healthcheck
:
test
:
curl --fail -s http://localhost:8668/v2/version || exit 1
# Databases
mongo-db
:
image
:
mongo:3.6
hostname
:
mongo-db
container_name
:
db-mongo
expose
:
-
"
27017"
ports
:
-
"
27017:27017"
networks
:
-
default
command
:
--bind_ip_all --smallfiles
volumes
:
-
mongo-db:/data
crate-db
:
image
:
crate:${CRATE_VERSION:-3.1.2}
hostname
:
crate-db
container_name
:
db-crate
ports
:
# Admin UI
-
"
4200:4200"
# Transport protocol
-
"
4300:4300"
command
:
crate -Clicense.enterprise=false -Cauth.host_based.enabled=false -Ccluster.name=democluster -Chttp.cors.enabled=true -Chttp.cors.allow-origin="*"
volumes
:
-
crate-db:/data
# Other services
grafana
:
image
:
grafana/grafana:6.1.6
container_name
:
grafana
depends_on
:
-
crate-db
ports
:
-
"
3003:3000"
environment
:
-
GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-worldmap-panel
volumes
:
-
grafana:/var/lib/grafana
networks
:
default
:
ipam
:
config
:
-
subnet
:
172.18.1.0/24
volumes
:
mongo-db
:
~
crate-db
:
~
grafana
:
~
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment