Configuring secrets, but unfortunately it does work for MQTT connection only. User and password for weconnect are mandatory to be provided via environment variables in docker-compose.yml.
Starting with docker. When trying to omit USER/PASSWORD environment variables, the weconnect-mqtt fails with error message weconnect-mqtt: error: argument -u/--username: expected one argument
Configuring secrets, but unfortunately it does work for MQTT connection only. User and password for weconnect are mandatory to be provided via environment variables in docker-compose.yml.
Starting with docker. When trying to omit USER/PASSWORD environment variables, the weconnect-mqtt fails with error message
weconnect-mqtt: error: argument -u/--username: expected one argument
Configuration: docker-compose.yml
the netrc contains entries for
volkswagen.de
but they are not picked.Workaround: The only solution to make it working, is provide USER/PASSWORD explicitly in docker-compose.yml:
TODO: make user/password paramethers optional, to allow pick values from
netrc
secret.