-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
42 additions
and
58 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 was deleted.
Oops, something went wrong.
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,23 @@ | ||
# Self hosted BundleMon platform | ||
|
||
## Running with Docker | ||
|
||
```sh | ||
docker run --rm -p 8080:8080 -e MONGO_URL="mongodb://localhost:27017" ghcr.io/lironer/bundlemon-platform:v1 | ||
``` | ||
|
||
Full Docker compose example [here](./docker-compose.yaml). | ||
|
||
You can also run with env var `SHOULD_SERVE_WEBSITE=false` to disable serving the website. | ||
|
||
**Full details on all environment variables [here](../../apps/service/README.md).** | ||
|
||
## MongoDB setup | ||
|
||
Create your MongoDB, you can either create one in docker, your own machine or host on another service like MongoDB Atlas. | ||
|
||
> you can create a free MongoDB [here](https://www.mongodb.com) (500 MB free). | ||
## Setup BundleMon CLI | ||
|
||
Set env var `BUNDLEMON_SERVICE_URL=https://your-bundlemon-service.domain/api` in your CI/CD. |
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,17 @@ | ||
services: | ||
bundlemon: | ||
image: ghcr.io/lironer/bundlemon-platform:v1 | ||
ports: | ||
- '8080:8080' | ||
environment: | ||
MONGO_URL: mongodb://mongo:27017 | ||
depends_on: | ||
- mongo | ||
|
||
mongo: | ||
image: mongo:7.0 | ||
ports: | ||
- '27017:27017' | ||
logging: | ||
driver: 'none' | ||
command: --quiet |