Adding docker-compose doc (#904)
Signed-off-by: MOULARD Paul <p.moulard@tekin.fr>
This commit is contained in:
@@ -38,3 +38,24 @@ $ docker stack deploy -c docker-compose-stack.yml hawkbit
|
||||
| hawkBit Device Simulator | [http://localhost:8083/](http://localhost:8083/) | - | | | ✓ |
|
||||
| MySQL | localhost:3306/hawkbit | root | | ✓ | ✓ |
|
||||
| RabbitMQ | [http://localhost:15672](http://localhost:15672) | guest:guest | | ✓ | ✓ |
|
||||
|
||||
# Configuration
|
||||
|
||||
You can override application.properties by setting an environment variable SPRING_APPLICATION_JSON for hawkbit container.
|
||||
```
|
||||
hawkbit:
|
||||
image: "hawkbit/hawkbit-update-server:latest-mysql"
|
||||
environment:
|
||||
SPRING_APPLICATION_JSON: '{
|
||||
"spring.datasource.url": "jdbc:mysql://mysql:3306/hawkbit",
|
||||
"spring.rabbitmq.host": "rabbitmq",
|
||||
"spring.rabbitmq.username": "guest",
|
||||
"spring.rabbitmq.password": "guest",
|
||||
"spring.datasource.username": "root",
|
||||
"hawkbit.server.im.users[0].username": "hawkbit",
|
||||
"hawkbit.server.im.users[0].password": "{noop}isAwesome!",
|
||||
"hawkbit.server.im.users[0].firstname": "Eclipse",
|
||||
"hawkbit.server.im.users[0].lastname": "HawkBit",
|
||||
"hawkbit.server.im.users[0].permissions": "ALL"
|
||||
}'
|
||||
```
|
||||
Reference in New Issue
Block a user