Commit 0d0d8f1f authored by Federico Sismondi's avatar Federico Sismondi

Update() shebangs and compose

parent fc1903df
# Orion variables
ORION_PORT=1026
ORION_VERSION=2.3.0
ORION_VERSION=latest
# MongoDB variables
MONGO_DB_PORT=27017
......
......@@ -16,8 +16,7 @@ version: "3.5"
services:
# Orion is the context broker
orion:
image: fiware/orion:${ORION_VERSION}
hostname: orion
image: fiware/orion-ld:${ORION_VERSION}
container_name: fiware-orion
depends_on:
- mongo-db
......@@ -36,7 +35,6 @@ services:
keyrock:
image: fiware/idm:${KEYROCK_VERSION}
container_name: fiware-keyrock
hostname: keyrock
networks:
default:
ipv4_address: 172.18.1.5
......@@ -65,7 +63,6 @@ services:
orion-proxy:
image: fiware/pep-proxy:${WILMA_VERSION}
container_name: fiware-orion-proxy
hostname: orion-proxy
networks:
default:
ipv4_address: 172.18.1.10
......@@ -96,7 +93,6 @@ services:
# Databases
mongo-db:
image: mongo:${MONGO_DB_VERSION}
hostname: mongo-db
container_name: db-mongo
expose:
- "${MONGO_DB_PORT}"
......@@ -132,7 +128,6 @@ services:
mysql-db:
restart: always
image: mysql:${MYSQL_DB_VERSION}
hostname: mysql-db
container_name: db-mysql
expose:
- "${MYSQL_DB_PORT}"
......@@ -193,7 +188,6 @@ services:
context: ./wms-example
dockerfile: Dockerfile
image: wms-app-example:latest
hostname: wms-app-example
container_name: wms-app-example
environment:
- LC_ALL=C.UTF-8
......
#!/bin/sh
#!/usr/bin/env bash
[[ -z "$ORION_HOST" ]] && echo "Please set ORION_HOST env var. E.g. export ORION_HOST=127.0.0.1" && exit
echo "Querying context broker at: ${ORION_HOST}"
......
#!/bin/sh
#!/usr/bin/env bash
[[ -z "$ORION_HOST" ]] && echo "Please set ORION_HOST env var. E.g. export ORION_HOST=127.0.0.1" && exit
echo "Querying context broker at: ${ORION_HOST}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment