Add new sandbox (#741)
* Add new sandbox files and remove temporary unavailable notice * remove old deployment script * adapt application properties * restructure hawkbit-runtime * move sandbox description. * adapt license checks * Introduce review findings and add new docker files * Remove redundant profile and attribute * Update website * redirect to sandbox * getting started * Add description for docker folder and renew favicon
This commit is contained in:
55
hawkbit-runtime/.sandbox/README.md
Normal file
55
hawkbit-runtime/.sandbox/README.md
Normal file
@@ -0,0 +1,55 @@
|
||||
hawkBit Sandbox
|
||||
===
|
||||
|
||||
## Try out the update server in our hawkBit sandbox
|
||||
|
||||
- try out Management UI https://hawkbit.eclipse.org (username: demo, passwd: demo)
|
||||
- try out Management API https://hawkbit.eclipse.org/rest/v1/targets (don't forget basic auth header; username: demo, passwd: demo)
|
||||
- try out DDI API https://hawkbit.eclipse.org/DEFAULT/controller/v1/MYTESTDEVICE
|
||||
|
||||
|
||||
## 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](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-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
|
||||
```
|
||||
Reference in New Issue
Block a user