Fix manager bridge network

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2017-09-18 15:43:42 +02:00
parent 01bd08d5b8
commit 0d3934e9a6
3 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -24,5 +24,6 @@ services:
- "3000:3000" - "3000:3000"
- "8080:8080" - "8080:8080"
external_links: external_links:
- mainflux-manager
- mainflux-http - mainflux-http

View File

@ -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 = "*"