Skip to content

Commit 6761f68

Browse files
Buggregator service to an existing service in your docker-compose.yml
1 parent 7c1b3d9 commit 6761f68

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/getting-started.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,27 @@ services:
7878
- 127.0.0.1:9912:9912
7979
- 127.0.0.1:9913:9913
8080
```
81+
**To add the Buggregator service to an existing service in your docker-compose.yml file, you can follow these :**
82+
```yaml
83+
services:
84+
# Existing services...
85+
86+
buggregator:
87+
image: ghcr.io/buggregator/server:dev
88+
ports:
89+
- 127.0.0.1::8000
90+
networks:
91+
- your_existing_network
92+
```
93+
94+
Here's an example of how you can set the environment variables for Ray, Var Dump Server in your .env file:
95+
```code
8196

97+
RAY_HOST=ray@buggregator
98+
RAY_PORT=8000
99+
VAR_DUMPER_FORMAT=server
100+
VAR_DUMPER_SERVER=buggregator:9912
101+
```
82102
3. Run `docker-compose up` in your CLI.
83103

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

0 commit comments

Comments
 (0)