Skip to content

Commit e5c6728

Browse files
committed
Remove devices
1 parent 72c5dab commit e5c6728

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

docker-compose/common.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,35 +55,25 @@ services:
5555
test: ["CMD","mongosh", "localhost:27017/test", "--quiet"]
5656
interval: 5s
5757

58-
# Tutorial acts as a series of dummy IoT Sensors over HTTP
58+
59+
# Tutorial acts as a Farm Management Information System
5960
tutorial:
6061
labels:
6162
org.fiware: 'tutorial'
6263
image: quay.io/fiware/tutorials.ngsi-ld
63-
platform: linux/amd64
64-
hostname: iot-sensors
64+
hostname: tutorial
6565
container_name: fiware-tutorial
6666
depends_on:
6767
- mongo-db
6868
networks:
69-
default:
70-
aliases:
71-
- tutorial
72-
- context-provider
69+
- default
7370
expose:
7471
- "${TUTORIAL_APP_PORT}"
75-
- "${TUTORIAL_DUMMY_DEVICE_PORT}"
7672
ports:
7773
- "${TUTORIAL_APP_PORT}:${TUTORIAL_APP_PORT}" # localhost:3000
78-
- "${TUTORIAL_DUMMY_DEVICE_PORT}:${TUTORIAL_DUMMY_DEVICE_PORT}" # localhost:3001
7974
environment:
8075
- DEBUG=tutorial:*
8176
- WEB_APP_PORT=${TUTORIAL_APP_PORT} # Port used by the content provider proxy and web-app for viewing data
82-
- IOTA_HTTP_HOST=iot-agent
83-
- IOTA_HTTP_PORT=${IOTA_SOUTH_PORT}
84-
- OPENWEATHERMAP_KEY_ID=<ADD_YOUR_KEY_ID>
85-
- TWITTER_CONSUMER_KEY=<ADD_YOUR_CONSUMER_KEY>
86-
- TWITTER_CONSUMER_SECRET=<ADD_YOUR_CONSUMER_SECRET>
8777
- MONGO_URL=mongodb://mongo-db:27017
8878
- IOTA_JSON_LD_CONTEXT=http://context/user-context.jsonld
8979

0 commit comments

Comments
 (0)