Mysql and postgres config

Hello, regarding the configuration of Mysql and Postgres plugin, I would like to ask whether it is possible to add string to Integer to the environment variable configuration about Port, so that dynamic configuration can be realized in the configuration file by environment variables。


Hi,

Have you tried without the surrounding double quotes ?

"Port": ${POSTGRES_PORT:-5433},

HTH,

Alain

Thank you for your reply, it works!