A docker container for the hawkbit demo application.
683
You might want to change some values from the default ones used in the configuration files.
Look at the application.properties file and change:
spring.rabbitmq.username, spring.rabbitmq.password) (if different).spring.datasource.url, spring.datasource.username, spring.datasource.password), and the name of the database used.spring.data.mongodb).hawkbit.server.ui.demo.password, hawkbit.server.ui.demo.user).The image can take a while to build.
docker build -t hawkbit --force-rm .
Start a MariaDB container as explained in the offial container image documentation.
You need to specify the MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE values,
and those should be reflected in the application.properties file.
docker run -d -t --name mariadb -e MYSQL_ROOT_PASSWORD=ROOT_PASSWORD -e MYSQL_USER=USER_NAME -e MYSQL_PASSWORD=USER_PASSWORD -e MYSQL_DATABASE=DB_NAME mariadb
When MariaDB is up and running, start the Hawkbit container and link the MariaDB one.
docker run -d -t --name hawkbit --link mariadb:mysql -p 8080:8080 milocasagrande/hawkbit-docker
Once the container is up and running and the application started (in can take ~20 seconds for the application to start), head to http://localhost:8080/UI and login with the Hawkbit username and password configured (by default admin/admin).
From here on:
Hic sunt dracones
Content type
Image
Digest
Size
808.7 MB
Last updated
about 10 years ago
docker pull milocasagrande/hawkbit-docker