Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docker/postgres/docker-compose-deps-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ services:
restart_policy:
condition: on-failure
environment:
POSTGRES_DB: "hawkbit"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "admin"
POSTGRES_DB: "hawkbit"
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB:-hawkbit} -U ${POSTGRES_USER:-postgres}"]
interval: 20s
retries: 10

Expand All @@ -44,5 +44,4 @@ services:
- "5672:5672"
deploy:
restart_policy:
condition: on-failure

condition: on-failure
16 changes: 14 additions & 2 deletions docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ $ mvn clean install -DskipTests
$ java -jar ./hawkbit-monolith/hawkbit-update-server/target/hawkbit-update-server-0-SNAPSHOT.jar
```

> **Note:** you could start it also in **microservices mode** by:
**Note:** you could start it also in **microservices mode** by:

```bash
$ java -jar ./hawkbit-mgmt/hawkbit-mgmt-server/target/hawkbit-mgmt-server-0-SNAPSHOT.jar
Expand All @@ -137,10 +137,22 @@ And (only if you want to use the DMF feature):
$ java -jar ./hawkbit-monolith/hawkbit-update-server/target/hawkbit-update-server-0-SNAPSHOT.jar
```

**Note:** You could also start with H2 console enabled with:
```bash
$java -jar ./hawkbit-monolith/hawkbit-update-server/target/hawkbit-update-server-0-SNAPSHOT.jar --spring.h2.console.enabled=true --spring.h2.console.path=/h2-console
```
for monolith, and:
```bash
$java -jar ./hawkbit-mgmt/hawkbit-mgmt-server/target/hawkbit-mgmt-server-0-SNAPSHOT.jar --spring.h2.console.enabled=true --spring.h2.console.path=/h2-console
```
for mgmt server in micro-service mode.

Then you will get H2 console available at '/h2-console' (Database available at 'jdbc:h2:mem:hawkbit')

You could also start the **hawkBit UI** by:

```bash
$ java -jar ./hawkbit--ui/target/hawkbit-ui-0-SNAPSHOT.jar
$ java -jar ./hawkbit-ui/target/hawkbit-ui-0-SNAPSHOT.jar
```

---
Expand Down
878 changes: 377 additions & 501 deletions eclipse_codeformatter.xml

Large diffs are not rendered by default.

Loading
Loading