You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs: Add configuration and usage instructions for the hawkbit-update-server #2637
The default behavior is still implicit of course (e.g. dmf is disabled by default). A corresponding note about runtime configure-ability via docker compose 'SPRING_APPLICATION_JSON={"hawkbit.dmf.enabled": true}' would prevent a lot of unnecessary questions in other github issues and the gitter chats I guess.
In general the hawkbit-update-server is running (APIs available and query-able, etc.). What's the minimal set of SPRING_* environment variables which need to be passed to the hawkbit-update-server (to override implicitly set auto-configured Spring properties) to make it run healthy?
Is it possible to cleanly disable the DMF component and API? If so: How?
I've created a Dockerfile with entrypoint.sh script which allows to cleanly inject Spring Boot application properties via env vars. In general the approach works cause I can inject SPRING_PROFILES_ACTIVE and the like. I tried to disable the DMF component and API with SPRING_HAWKBIT_DMF_ENABLED=false. However the hawkbit-update-server still tries to connect to the rabbitmq service (AMQP).
hawkbit-update-server-1 | org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused
...
hawkbit-update-server-1 | <skipped cause noise only here> o.s.a.r.c.CachingConnectionFactory : Attempting to connect to: [localhost:5672]
which should be optional as well.
As a consequence the hawkbit-update-server potentially never results in a service_healthy state. (There is no docker compose file which checks the healthy-ness of the hawkbit-update-server at all. E.g. the hawkbit-simple-ui could do so cause it depends on the backend to be available).
Activity
avgustinmm commentedon Aug 29, 2025
What shall be explained more in that readme? The update server does initialize the database by itself.
fkromer commentedon Aug 29, 2025
IMO putting references to the implicit auto-configurations in
into the
README.mdwould be little overhead and sufficient (configuration interface can be referenced for non-developer people).fkromer commentedon Aug 29, 2025
The default behavior is still implicit of course (e.g. dmf is disabled by default). A corresponding note about runtime configure-ability via docker compose
'SPRING_APPLICATION_JSON={"hawkbit.dmf.enabled": true}'would prevent a lot of unnecessary questions in other github issues and the gitter chats I guess.fkromer commentedon Aug 29, 2025
It would be helpful to provide a reference to docs.spring.io/spring-boot/ > Encrypting Properties (Spring Boot lacks a built-in support for encrypting property values).
fkromer commentedon Sep 1, 2025
@avgustinmm ATM I'm not able to setup a strict health-check based service dependency chain in the mysql docker compose setup.
In general the hawkbit-update-server is running (APIs available and query-able, etc.). What's the minimal set of
SPRING_*environment variables which need to be passed to the hawkbit-update-server (to override implicitly set auto-configured Spring properties) to make it run healthy?fkromer commentedon Sep 1, 2025
Is it possible to cleanly disable the DMF component and API? If so: How?
I've created a
Dockerfilewithentrypoint.shscript which allows to cleanly inject Spring Boot application properties via env vars. In general the approach works cause I can injectSPRING_PROFILES_ACTIVEand the like. I tried to disable the DMF component and API withSPRING_HAWKBIT_DMF_ENABLED=false. However thehawkbit-update-serverstill tries to connect to therabbitmqservice (AMQP).which should be optional as well.
As a consequence the
hawkbit-update-serverpotentially never results in aservice_healthystate. (There is no docker compose file which checks the healthy-ness of the hawkbit-update-server at all. E.g. thehawkbit-simple-uicould do so cause it depends on the backend to be available).