Files
hawkbit/hawkbit-runtime/.sandbox
Jeroen Laverman 1aed625fe6 Update website and docker files (#754)
* Add version 0.2.3.

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>

* remove themes

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
2018-10-16 16:19:32 +02:00
..
2018-09-24 14:42:16 +02:00
2018-09-21 14:12:47 +02:00

hawkBit Sandbox

Try out the update server in our hawkBit sandbox

Sandbox Setup

1. File Structure

Copy the files to the respective location on the VM.

/
+.sandbox
  |
  +-stacks
  |  +-sandbox
  |  |   +-docker-compose-stack.yml
  |  +-proxy
  |      +-docker-compose-stack.yml  
  +- scripts
     +-intialize-cronjobs.sh
     +-sandbox-cleanup.sh 

2. Initialize Cronjobs

Reset the Sandbox once a week with a cron-job and log its output.

$ sudo /.sandbox/scripts/initialize-cronjobs.sh

3. Nginx Reverse Proxy

Start the stack for the Nginx reverse proxy with Let's Encrypt support. Thanks to JrCs for providing the Docker container and instructions with his Docker-Letsencrypt-Nginx-Companion.

$ docker stack deploy -c /.sandbox/stacks/sandbox/docker-compose-stack.yml proxy

4. hawkBit

Start the hawkBit stack.

$ docker stack deploy -c /.sandbox/stacks/sandbox/docker-compose-stack.yml hawkbit