Skip to content

Buggregator service to an existing service in your docker-compose.yml #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2024
Merged
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
22 changes: 21 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,27 @@ services:
- 127.0.0.1:9912:9912
- 127.0.0.1:9913:9913
```
**To add the Buggregator service to an existing service in your docker-compose.yml file, you can follow these :**
```yaml
services:
# Existing services...

buggregator:
image: ghcr.io/buggregator/server:dev
ports:
- 127.0.0.1::8000
networks:
- your_existing_network
```

Here's an example of how you can set the environment variables for Ray, Var Dump Server in your .env file:
```code

RAY_HOST=ray@buggregator
RAY_PORT=8000
VAR_DUMPER_FORMAT=server
VAR_DUMPER_SERVER=buggregator:9912
```
3. Run `docker-compose up` in your CLI.

## Step 3: Open Buggregator in Your Browser
Expand Down Expand Up @@ -132,4 +152,4 @@ For example, if you use only var-dumper, you can omit the other ports, like this
docker run --pull always \
-p 127.0.0.1:9912:9912 \
ghcr.io/buggregator/server:latest
```
```