Closed
Description
It would be nice to allow environnement variables to be resolved to lists, since in the moment the specification of HOCON explicitly says: "environment variables always become a string value".
A common use case for this is when using Akka Cluster with Docker containers, it would be nice to have the ability to externalize the value of akka.cluster.roles to environnement variables that can be passed when running a docker container, and to do something like that:
akka.cluster.roles = [default-role]
akka.cluster.roles = ${?AKKA_ROLE}
with AKKA_ROLE an environnement variable that can have the following value: "role1","role2","role3"
(comma separated list)
At the moment the workaround that is recommended is to add as jvm properties -Dakka.cluster.roles.0=...