Run hawkBit Update Server with services as Docker Stack or as Docker Compose fails due to MySQL container issue.
Hi,
Following the getting started guide https://www.eclipse.org/hawkbit/gettingstarted I've been unable to run either the instructions to run hawkBit Update Server with services as Docker Stack or as Docker Compose
docker stack deploy -c docker-compose-stack.yml hawkbit
or
docker-compose up -d
The issue appears to be the inclusion of the following line in the hawkbit-runtime/docker/docker-compose.yml file:
MYSQL_USER: "root"
Removing this line and both docker commands work.
The default username and password of admin:admin are also not stated anywhere in the getting started guide.
Hi @mgilroy , yes you are right. It looks like it is no longer working like this since this mysql PR was merged. MYSQL_USER: "root" is not required anymore and created by default (see https://hub.docker.com/_/mysql/). I would suggest to add a respective comment in both docker files and remove the MYSQL_USER property.
Indeed, also the documentation has room for improvement like mentioning the default username and password in the getting started guide. Would you mind contributing these small fixes? :)