From f9a7f34d4f14d5f2318ef71ab8dc85e6929169c5 Mon Sep 17 00:00:00 2001 From: "Ozcan Aytac; Insylva project" Date: Tue, 7 Jul 2020 18:57:47 +0200 Subject: [PATCH] * --- docker-compose.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 888b764..e24ca2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,8 +4,10 @@ services: consul: image: consul:latest + container_name: in-sylva-consul environment: - CONSUL_BIND_INTERFACE: eth0 + network.host: 0.0.0.0 + # CONSUL_BIND_INTERFACE: eth0 CONSUL_LOCAL_CONFIG: '{"connect": {"enabled": true}}' networks: - insylva-net @@ -253,18 +255,18 @@ services: KEYCLOAK_GRANT_TYPE: password KEYCLOAK_CLIENT_ID: admin-cli + CONSUL_IP: http://in-sylva-consul + CONSUL_PORT: 8500 + + SERVICE_IP: http://gatekeeper + SERVICE_PORT: 4000 + SERVICE_NAME: in-sylva-gatekeeper-v1 + KEYCLOAK_REALM: in-sylva KEYCLOAK_SERVER_URL: http://keycloak:8080/keycloak/auth KEYCLOAK_SERVER_PUBLIC_KEY: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp4KOgK5s+xvmun5sbPzcRLTIvGmVyG+nNdILYKNkpjUuFGvG2KqDNZZsq5rk9EPyrEApnbPWmOZusCn1dVegoGvkfSxkyP7AtVamwZMvTBObG0Ktju47o8/KCk63NPfwdWxSNyhWWa3VV95+l4VctvwAH7MeEV6uTDjsby2+LIojJOE+IWhPoLXiINuQ/GzKrzd30pS0XpMLQdru1vJgLXBPAvcZbYMvIkK3b5zIC02x4mL7PGP2LFZBZxUTMhRoC6cTc7C3uDagF5MHPOqfVl3ycHbm7Hc4bpJGSzqYGINLQ28I59WqM5zc+Wpml0Lmyd6wv5eqUTJWQKdc92DvtQIDAQAB KEYCLOAK_CREDENTIALS_SECRET: 6d1fea7a-b803-440e-b0d7-2b551e2ff2b9 - CONSUL_IP: consul - CONSUL_PORT: 8500 - - SERVICE_IP: gatekeeper - SERVICE_PORT: 4000 - SERVICE_NAME: in-sylva-gatekeeper - networks: - insylva-net restart: unless-stopped @@ -310,12 +312,12 @@ services: KEYCLOAK_SERVER_PUBLIC_KEY: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp4KOgK5s+xvmun5sbPzcRLTIvGmVyG+nNdILYKNkpjUuFGvG2KqDNZZsq5rk9EPyrEApnbPWmOZusCn1dVegoGvkfSxkyP7AtVamwZMvTBObG0Ktju47o8/KCk63NPfwdWxSNyhWWa3VV95+l4VctvwAH7MeEV6uTDjsby2+LIojJOE+IWhPoLXiINuQ/GzKrzd30pS0XpMLQdru1vJgLXBPAvcZbYMvIkK3b5zIC02x4mL7PGP2LFZBZxUTMhRoC6cTc7C3uDagF5MHPOqfVl3ycHbm7Hc4bpJGSzqYGINLQ28I59WqM5zc+Wpml0Lmyd6wv5eqUTJWQKdc92DvtQIDAQAB KEYCLOAK_CREDENTIALS_SECRET: 6d1fea7a-b803-440e-b0d7-2b551e2ff2b9 - CONSUL_IP: consul + CONSUL_IP: in-sylva-consul CONSUL_PORT: 8500 SERVICE_IP: source-manager SERVICE_PORT: 5000 - SERVICE_NAME: in-sylva-source-manager + SERVICE_NAME: in-sylva-source-manager-v1 ports: - 5000:5000 links: