You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to specify other variables that we could use, such as {{ local_ip_addr }} ? Or is app.name the only variable? I assume the former, if you have any information please let me know!
The text was updated successfully, but these errors were encountered:
hi,
you can access hostname and erl from the predefined variables.
Also you can use system's environmental variables:
F.e. export MAGIC_GREETING="hello" and use it in sys.config, vm.args, relx.config or .app.src
{env, [
{% if MAGIC_GREETING is defined %}
{greeting, "{{ MAGIC_GREETING }}"}
{% else %}
{greeting, "hello world!" }
{% endif %}
]}
```.
Please rever [here](https://github.com/comtihon/enot/blob/master/docs/templating.md)
Hello!
I can see in your example project, for the vm.args you have:
-name {{ app.name }}@127.0.0.1
-setcookie {{ app.name }}
Is there a way to specify other variables that we could use, such as {{ local_ip_addr }} ? Or is app.name the only variable? I assume the former, if you have any information please let me know!
The text was updated successfully, but these errors were encountered: