1
0
mirror of https://github.com/daniviga/bite.git synced 2024-12-23 16:51:25 +01:00
bite/docker/edge/docker-compose.yml
Daniele Viganò 8e71d64f8f
Renaming to BITE (#15)
* Renaming, again

* Update README.md
2020-06-17 23:30:00 +02:00

39 lines
804 B
YAML

version: "3.7"
networks:
localnet:
x-op-service-default: &service_default
restart: always
init: true
tty: true
services:
device-http:
<<: *service_default
build:
context: ../simulator
image: daniviga/bite-device-simulator
environment:
IOT_HTTP: "http://192.168.10.123:8000"
# IOT_SERIAL: "abcd1234"
# IOT_DELAY: 10
IOT_DEBUG: 1
networks:
- localnet
device-mqtt:
<<: *service_default
build:
context: ../simulator
image: daniviga/bite-device-simulator
environment:
IOT_HTTP: "http://192.168.10.123:8000"
IOT_MQTT: "192.168.10.123:1883"
# IOT_SERIAL: "abcd1234"
# IOT_DELAY: 10
IOT_DEBUG: 1
command: ["/opt/bite/device_simulator.py", "-t", "mqtt"]
networks:
- localnet