Skip to content

Commit

Permalink
Added edge server docker-compose file
Browse files Browse the repository at this point in the history
Added tag to qiot-edge and qiot-edge-server images
fixes
  • Loading branch information
abattagl authored and abattagl committed Sep 18, 2020
1 parent 10ccce1 commit 17483c9
Show file tree
Hide file tree
Showing 12 changed files with 122 additions and 136 deletions.
74 changes: 0 additions & 74 deletions comp/docker-compose.yaml

This file was deleted.

35 changes: 35 additions & 0 deletions edge-server/application/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: '3'
services:
edge-integrator:
image: quay.io/qiot/qiot-edge-integrator:1-x86_64
container_name: "edge-integrator"
restart: "no"
environment:
AMQPHOST: "edge-messaging"
AMQPPORT: 5672
AMQPUSERNAME: "qiot"
AMQPPASSWORD: "qiot"
SENSORSURL: "http://edge-sensors:5000/"
edge-server-01:
image: quay.io/qiot/qiot-edge-server:1-x86_64
container_name: "edge-server-01"
restart: "no"
ports:
- "8091:8080"
environment:
AMQPHOST: "edge-messaging"
AMQPPORT: 5672
AMQPUSERNAME: "qiot"
AMQPPASSWORD: "qiot"
STATIONSERIAL: "teststationserial01"
STATIONNAME: "teststation01"
STATIONADDRESS: "viale john fitzgerald kennedy 2/D vibo valentia"
SENSORSURL: "http://edge-sensors:5000/"
DATAHUBURL: "http://datahub-registration:5016/"
MQTTURL: "activemq"
ENABLESSL: "false"
MQTTPORT: "1883"
networks:
default:
external:
name: qiot
39 changes: 39 additions & 0 deletions edge-server/sensors/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: '3'
services:
edge-messaging:
image: rabbitmq:3
container_name: edge-messaging
volumes:
# - ./volumes/rabbitmq/etc/:/etc/rabbitmq/
- ./volumes/rabbitmq/data/:/var/lib/rabbitmq/
- ./volumes/rabbitmq/logs/:/var/log/rabbitmq/
- ./volumes/rabbitmq/enable_plugins:/etc/rabbitmq/enabled_plugins
environment:
# RABBITMQ_ERLANG_COOKIE: ${RABBITMQ_ERLANG_COOKIE}
RABBITMQ_DEFAULT_USER: qiot
RABBITMQ_DEFAULT_PASS: qiot
ports:
- 5673:5672
- 15672:15672
expose:
- "5672"
edge-sensors:
image: quay.io/qiot/qiot-sensors-emulator
container_name: "edge-sensors"
restart: "no"
ports:
- "5000:5000"
environment:
QUARKUS_PROFILE: "staging"
edge-sensors:
image: quay.io/qiot/qiot-sensors-emulator
container_name: "edge-sensors"
restart: "no"
ports:
- "5000:5000"
environment:
QUARKUS_PROFILE: "staging"
networks:
default:
external:
name: qiot
1 change: 1 addition & 0 deletions edge-server/sensors/volumes/rabbitmq/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/data/
1 change: 1 addition & 0 deletions edge-server/sensors/volumes/rabbitmq/enable_plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[rabbitmq_amqp1_0,rabbitmq_management,rabbitmq_web_dispatch,rabbitmq_management_agent].
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
edge-service-01:
image: quay.io/qiot/qiot-service
image: quay.io/qiot/qiot-service:1-x86_64
container_name: "edge-service-01"
restart: "no"
ports:
Expand All @@ -17,7 +17,7 @@ services:
ENABLESSL: "false"
MQTTPORT: "1883"
edge-service-02:
image: quay.io/qiot/qiot-service
image: quay.io/qiot/qiot-service:1-x86_64
container_name: "edge-service-02"
restart: "no"
ports:
Expand All @@ -33,7 +33,7 @@ services:
ENABLESSL: "false"
MQTTPORT: "1883"
edge-service-03:
image: quay.io/qiot/qiot-service
image: quay.io/qiot/qiot-service:1-x86_64
container_name: "edge-service-03"
restart: "no"
ports:
Expand Down
12 changes: 6 additions & 6 deletions edge/prod/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3'
services:
edge-service-01:
edge-service-prod-01:
image: quay.io/qiot/qiot-service
container_name: "edge-service-01"
container_name: "edge-service-prod-01"
restart: "no"
ports:
- "8091:8080"
Expand All @@ -15,9 +15,9 @@ services:
#MQTTHOST: "activemq"
#ENABLESSL: "false"
#MQTTPORT: "1883"
edge-service-02:
edge-service-prod-02:
image: quay.io/qiot/qiot-service
container_name: "edge-service-02"
container_name: "edge-service-prod-02"
restart: "no"
ports:
- "8092:8080"
Expand All @@ -30,9 +30,9 @@ services:
#MQTTHOST: "activemq"
#ENABLESSL: "false"
#MQTTPORT: "1883"
edge-service-03:
edge-service-prod-03:
image: quay.io/qiot/qiot-service
container_name: "edge-service-03"
container_name: "edge-service-prod-03"
restart: "no"
ports:
- "8093:8080"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
version: '3'
services:
edge-sensors:
image: quay.io/qiot/qiot-sensors-emulator
image: quay.io/qiot/qiot-sensors-emulator:1-x86_64
container_name: "edge-sensors"
restart: "no"
ports:
- "5000:5000"
environment:
QUARKUS_PROFILE: "staging"
networks:
default:
external:
Expand Down
36 changes: 36 additions & 0 deletions influxdbtest/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '3'
services:
influxdb:
image: influxdb:1.8.2
container_name: "influxdb"
ports:
- "9999:9999"
- "8086:8086"
volumes:
- ./volumes/influxdb:/data/db

chronograph:
image: quay.io/influxdb/chronograf:1.8.6
container_name: "chronograph"
entrypoint: 'chronograf --kapacitor-url=http://kapacitor:9092 --influxdb-url=http://influxdb:8086'
depends_on:
- "influxdb"
- "kapacitor"
ports:
- "8888:8888"
volumes:
- ./volumes/influxdb:/var/lib/chronograf

kapacitor:
image: kapacitor
container_name: "kapacitor"
depends_on:
- "influxdb"
environment:
- KAPACITOR_INFLUXDB_0_URLS_0=http://influxdb:8086
- KAPACITOR_HOSTNAME=kapacitor
networks:
default:
external:
name: influxdb
#9340172063e48e0f5473ff47b5b05403c03d2f43c0b107d710dd3e014b966b06
1 change: 0 additions & 1 deletion mongotest/.gitignore

This file was deleted.

35 changes: 0 additions & 35 deletions mongotest/docker-compose.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions registrationtest/docker-compose.yaml

This file was deleted.

0 comments on commit 17483c9

Please sign in to comment.