Remove mysql_user and update documentation (#1139)

* Remove mysql_user and update documentation

* MG, udpate based on maintainers feedback

* Remove extra comments for password, already in doc
This commit is contained in:
Michael Gilroy
2021-10-28 16:24:42 +01:00
committed by GitHub
parent 70779d1ac7
commit ae4fb5fe00
3 changed files with 9 additions and 7 deletions

View File

@@ -31,6 +31,8 @@ In addition, the following vendors offer free trial accounts for their Eclipse h
| MySQL | | ✓ | ✓ | | MySQL | | ✓ | ✓ |
| RabbitMQ | | ✓ | ✓ | | RabbitMQ | | ✓ | ✓ |
HawkBit Update Server uses username=admin and password=admin as default login credentials. They can be overridden by the environment variables spring.security.user.name and spring.security.user.password which are defined in the corresponding default [application.properties](hawkbit-runtime/hawkbit-update-server/src/main/resources/application.properties).
### A: Run hawkBit Update Server as Docker Container ### A: Run hawkBit Update Server as Docker Container
Start the hawkBit Update Server as a single container Start the hawkBit Update Server as a single container

View File

@@ -79,7 +79,7 @@ services:
condition: on-failure condition: on-failure
environment: environment:
MYSQL_DATABASE: "hawkbit" MYSQL_DATABASE: "hawkbit"
MYSQL_USER: "root" # MYSQL_USER: "root" is created by default in the container for mysql 5.7+
MYSQL_ALLOW_EMPTY_PASSWORD: "true" MYSQL_ALLOW_EMPTY_PASSWORD: "true"

View File

@@ -31,7 +31,7 @@ services:
image: "mysql:5.7" image: "mysql:5.7"
environment: environment:
MYSQL_DATABASE: "hawkbit" MYSQL_DATABASE: "hawkbit"
MYSQL_USER: "root" # MYSQL_USER: "root" is created by default in the container for mysql 5.7+
MYSQL_ALLOW_EMPTY_PASSWORD: "true" MYSQL_ALLOW_EMPTY_PASSWORD: "true"
restart: always restart: always
ports: ports: