Skip to content

Commit

Permalink
chore: met à jour la var d'env pour le tracer openfisca
Browse files Browse the repository at this point in the history
Sort la var d'env du bloc: elle est utilisée dans tous les cas
  • Loading branch information
Shamzic committed Mar 7, 2024
1 parent bc6c07e commit 93be659
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/bootstrap/templates/pm2_config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 93be659

Please sign in to comment.