Skip to content

Reverse-proxy hawkbit by nginx (adapted from the official hawkbit docker-compose file)

Notifications You must be signed in to change notification settings

Vishwasrao1/hawkbit-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

To reverse-proxy hawkbit by nginx, the given docker-compose.yml can be used (adapted from the official hawkbit docker-compose file)

The file nginx_default.conf should be there

server.key and server.crt can be created with openssl e.g. like this:

$ openssl req -x509 -newkey rsa:4096 -nodes -keyout server.pem -out server.crt -subj "/CN=localhost"

To start the hawkbit server run below command

$ docker-compose up --build

You can add -d to the command to run the containers in background

$ docker-compose up --build -d

It will start 4 containers:

  • RabbitMQ, listening on ports 5672 and 15672
  • MySQL, only available to hawkbit
  • hawkbit, only reachable to nginx
  • nginx, listening on port 443 and forwarding requests to hawkbit

You can connect by pointing your browser to https://localhost and login by admin/admin (after accepting the security exception).

Note: Do not forget to set the authentication configuration to "Allow targets to authenticate directly with their target security token" while testing FDO zero touch hawkbit onboarding. To do this go to hawkbit UI > System Config > Authentication Configuration > choose "Allow targets to authenticate directly with their target security token" > save

About

Reverse-proxy hawkbit by nginx (adapted from the official hawkbit docker-compose file)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published