Fix manager bridge network
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
parent
01bd08d5b8
commit
0d3934e9a6
|
@ -16,8 +16,9 @@ services:
|
||||||
manager:
|
manager:
|
||||||
image: mainflux/manager:latest
|
image: mainflux/manager:latest
|
||||||
container_name: mainflux-manager
|
container_name: mainflux-manager
|
||||||
|
network_mode: bridge
|
||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "8180:8180"
|
||||||
external_links:
|
external_links:
|
||||||
- mainflux-cassandra:cassandra
|
- mainflux-cassandra:cassandra
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -24,5 +24,6 @@ services:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
external_links:
|
external_links:
|
||||||
|
- mainflux-manager
|
||||||
- mainflux-http
|
- mainflux-http
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ defaultEntryPoints = ["http"]
|
||||||
[backends]
|
[backends]
|
||||||
[backends.backend_manager]
|
[backends.backend_manager]
|
||||||
[backends.backend_manager.servers.server1]
|
[backends.backend_manager.servers.server1]
|
||||||
url = "http://mainflux-http:8180"
|
url = "http://mainflux-manager:8180"
|
||||||
|
|
||||||
[frontends.frontend_manager.headers.customresponseheaders]
|
[frontends.frontend_manager.headers.customresponseheaders]
|
||||||
Access-Control-Allow-Origin = "*"
|
Access-Control-Allow-Origin = "*"
|
||||||
|
|
Loading…
Reference in New Issue