Skip to content

Commit

Permalink
Buggregator service to an existing service in your docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriilopotovskii committed May 9, 2024
1 parent 7c1b3d9 commit 6761f68
Showing 1 changed file with 21 additions and 1 deletion.
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
```
```

0 comments on commit 6761f68

Please sign in to comment.