From 841319870a1798ee1acfaa285efbf01c2c1169c7 Mon Sep 17 00:00:00 2001 From: Shamzic Date: Thu, 7 Mar 2024 15:09:09 +0100 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20met=20=C3=A0=20jour=20la=20var=20d?= =?UTF-8?q?'env=20pour=20le=20tracer=20openfisca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/bootstrap/templates/pm2_config.yaml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/bootstrap/templates/pm2_config.yaml.j2 b/roles/bootstrap/templates/pm2_config.yaml.j2 index fd39ddd..da515bd 100644 --- a/roles/bootstrap/templates/pm2_config.yaml.j2 +++ b/roles/bootstrap/templates/pm2_config.yaml.j2 @@ -10,9 +10,11 @@ apps: {% if item.https %} MES_AIDES_ROOT_URL: https://{{ item.domain }} OPENFISCA_PUBLIC_ROOT_URL: https://openfisca.{{ item.domain }} + OPENFISCA_TRACER_URL: https://openfisca.github.io/tracer {% else %} MES_AIDES_ROOT_URL: http://{{ item.domain }} OPENFISCA_PUBLIC_ROOT_URL: http://openfisca.{{ item.domain }} + OPENFISCA_TRACER_URL: http://127.0.0.1:3000 {% endif %} MONGODB_URL: mongodb://127.0.0.1/db_{{ item.name }} NODE_ENV: production From f90594fb2c33969c4ddfb2a1f37fa0f532b92049 Mon Sep 17 00:00:00 2001 From: Shamzic Date: Thu, 7 Mar 2024 15:53:37 +0100 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20met=20=C3=A0=20jour=20la=20var=20d?= =?UTF-8?q?'env=20pour=20le=20tracer=20openfisca=20Sort=20la=20var=20d'env?= =?UTF-8?q?=20du=20bloc:=20elle=20est=20utilis=C3=A9e=20dans=20tous=20les?= =?UTF-8?q?=20cas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/bootstrap/templates/pm2_config.yaml.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/bootstrap/templates/pm2_config.yaml.j2 b/roles/bootstrap/templates/pm2_config.yaml.j2 index da515bd..630f706 100644 --- a/roles/bootstrap/templates/pm2_config.yaml.j2 +++ b/roles/bootstrap/templates/pm2_config.yaml.j2 @@ -10,13 +10,12 @@ apps: {% if item.https %} MES_AIDES_ROOT_URL: https://{{ item.domain }} OPENFISCA_PUBLIC_ROOT_URL: https://openfisca.{{ item.domain }} - OPENFISCA_TRACER_URL: https://openfisca.github.io/tracer {% else %} MES_AIDES_ROOT_URL: http://{{ item.domain }} OPENFISCA_PUBLIC_ROOT_URL: http://openfisca.{{ item.domain }} - OPENFISCA_TRACER_URL: http://127.0.0.1:3000 {% endif %} MONGODB_URL: mongodb://127.0.0.1/db_{{ item.name }} NODE_ENV: production OPENFISCA_INTERNAL_ROOT_URL: http://127.0.0.1:{{ item.openfisca_server_port }} + OPENFISCA_TRACER_URL: https://openfisca.github.io/tracer PORT: {{ item.node_server_port }}