* 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
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
hawkBit Docker
|
|
===
|
|
|
|
# Setup
|
|
|
|
## A: Docker Container
|
|
|
|
Start the hawkBit Update Server as a single container
|
|
|
|
```bash
|
|
$ docker run -d -p 8080:8080 hawkbit/hawkbit-update-server:latest
|
|
```
|
|
|
|
## B: Docker Compose
|
|
|
|
Start the hawkBit Update Server together with an MySQL and RabbitMQ instance as containers
|
|
|
|
```bash
|
|
# Requires Docker Compose to be installed
|
|
$ docker-compose up -d
|
|
```
|
|
|
|
|
|
## C: Docker Stack
|
|
|
|
Start the hawkBit Update Server and Device Simulator together with an MySQL and RabbitMQ instance as services within a swarm
|
|
|
|
```bash
|
|
$ docker stack init
|
|
$ docker stack deploy -c docker-compose-stack.yml hawkbit
|
|
```
|
|
|
|
# Access
|
|
|
|
| Service / Container | URL | Login | A | B | C |
|
|
|---|---|---|---|---|---|
|
|
| hawkBit Update Server | [http://localhost:8080/](http://localhost:8080/) | admin:admin | ✓ | ✓ | ✓ |
|
|
| hawkBit Device Simulator | [http://localhost:8083/](http://localhost:8083/) | - | | | ✓ |
|
|
| MySQL | localhost:3306/hawkbit | root | | ✓ | ✓ |
|
|
| RabbitMQ | [http://localhost:15672](http://localhost:15672) | guest:guest | | ✓ | ✓ | |