Fixed compose file, added env var for mqtt-adapter
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
This commit is contained in:
parent
ea3fb4b781
commit
1c664a002e
|
@ -49,10 +49,15 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "1883:1883"
|
- "1883:1883"
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
|
depends_on:
|
||||||
|
- manager
|
||||||
external_links:
|
external_links:
|
||||||
- mainflux-nats:nats
|
- mainflux-nats:nats
|
||||||
|
- mainflux-manager:manager
|
||||||
environment:
|
environment:
|
||||||
- MQTT_ADAPTER_NATS_URL=nats://nats:4222
|
- MQTT_ADAPTER_NATS_URL=nats://nats:4222
|
||||||
|
- AUTH_URL=http://manager
|
||||||
|
- AUTH_PORT=8180
|
||||||
|
|
||||||
###
|
###
|
||||||
# HTTP Server
|
# HTTP Server
|
||||||
|
@ -61,6 +66,8 @@ services:
|
||||||
image: mainflux/http:latest
|
image: mainflux/http:latest
|
||||||
container_name: mainflux-http
|
container_name: mainflux-http
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
|
depends_on:
|
||||||
|
- manager
|
||||||
ports:
|
ports:
|
||||||
- "7070:7070"
|
- "7070:7070"
|
||||||
external_links:
|
external_links:
|
||||||
|
|
Loading…
Reference in New Issue