From 0d3934e9a65754b669424e63bc0d1ed214bcb052 Mon Sep 17 00:00:00 2001 From: Drasko DRASKOVIC Date: Mon, 18 Sep 2017 15:43:42 +0200 Subject: [PATCH] Fix manager bridge network Signed-off-by: Drasko DRASKOVIC --- docker/docker-compose-mainflux.yml | 3 ++- docker/docker-compose-traefik.yml | 1 + docker/traefik.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose-mainflux.yml b/docker/docker-compose-mainflux.yml index 84027f9e..7377209e 100644 --- a/docker/docker-compose-mainflux.yml +++ b/docker/docker-compose-mainflux.yml @@ -16,8 +16,9 @@ services: manager: image: mainflux/manager:latest container_name: mainflux-manager + network_mode: bridge ports: - - "9090:9090" + - "8180:8180" external_links: - mainflux-cassandra:cassandra environment: diff --git a/docker/docker-compose-traefik.yml b/docker/docker-compose-traefik.yml index d78c7500..0057887f 100644 --- a/docker/docker-compose-traefik.yml +++ b/docker/docker-compose-traefik.yml @@ -24,5 +24,6 @@ services: - "3000:3000" - "8080:8080" external_links: + - mainflux-manager - mainflux-http diff --git a/docker/traefik.toml b/docker/traefik.toml index 00376d30..4d58e7c9 100644 --- a/docker/traefik.toml +++ b/docker/traefik.toml @@ -19,7 +19,7 @@ defaultEntryPoints = ["http"] [backends] [backends.backend_manager] [backends.backend_manager.servers.server1] - url = "http://mainflux-http:8180" + url = "http://mainflux-manager:8180" [frontends.frontend_manager.headers.customresponseheaders] Access-Control-Allow-Origin = "*"