-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Fix the Dockerfile and the README.md (#593)
* Fix: Fix the Dockerfile and the README.md The versions used in the Dockerfile as well as the README.md didnt seems to be up to date. I also add the build part for the Dockerfile. This would help to be independant from any previous java/maven installation on the the build host. Signed-off-by: Julien Godin <[email protected]> * feature(git) Add git as it seems needed by magpie for the rules Signed-off-by: Julien Godin <[email protected]> * feat: add docker-compose.yaml Signed-off-by: Julien Godin <[email protected]> --------- Signed-off-by: Julien Godin <[email protected]>
- Loading branch information
1 parent
b75dc0d
commit 56793c2
Showing
3 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ each layer may exist on separate compute instances. | |
```shell | ||
git clone [email protected]:openraven/magpie.git | ||
cd magpie | ||
mvn clean package install -DskipTests && mvn --projects magpie-cli assembly:single -DskipTests | ||
mvn clean install -DskipTests && mvn --projects magpie-cli assembly:single -DskipTests | ||
``` | ||
|
||
The distribution zip file will be located in `magpie-cli/target/magpie-<version>.zip` | ||
|
@@ -63,7 +63,7 @@ the `uberjar` profile as such: | |
|
||
## Running Magpie | ||
|
||
*Java 11 is a prerequisite and must be installed to run Magpie.* | ||
*Java 17 is a prerequisite and must be installed to run Magpie.* | ||
|
||
Out of the box Magpie supports AWS for the cloud provider and outputs discovery data to `stdout` in JSON format. The | ||
AWS plugin utilizes the AWS Java SDK and will search for credentials as described in [Using Credentials](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
version: "3.8" | ||
services: | ||
magpie: | ||
image: magpie:latest | ||
entrypoint: | ||
- /bin/bash | ||
- -c | ||
- sleep infinity | ||
volumes: | ||
# PLEASE CHANGE THE PATH TO THE CONFIG FILE | ||
- ./magpie-cli/src/assembly/files/config.yaml:/magpie/config.yaml | ||
database: | ||
image: postgres:16 | ||
environment: | ||
POSTGRES_PASSWORD: magpie | ||
POSTGRES_USER: magpie | ||
POSTGRES_DB: magpie |