From 3fff8966fa09f6bf7fae828268055317deaf11bd Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 14 Oct 2020 17:37:39 +0200 Subject: [PATCH] Add an environment variable to the client --- templates/open-asfa-docker-compose.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/open-asfa-docker-compose.yml.j2 b/templates/open-asfa-docker-compose.yml.j2 index a1e74d3..4cb7405 100644 --- a/templates/open-asfa-docker-compose.yml.j2 +++ b/templates/open-asfa-docker-compose.yml.j2 @@ -32,6 +32,8 @@ services: image: {{ open_asfa_docker_client_image }} networks: - {{ open_asfa_docker_network }} + environment: + API_BASE_URL: http://{{ open_asfa_docker_service_server_name }}:8080 deploy: mode: replicated replicas: 1