This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/codegate/pipeline/secrets Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -150,16 +150,16 @@ make image-build
150
150
### Run the Container
151
151
``` bash
152
152
# Basic usage with local image
153
- docker run -p 8989:8989 -p 8990 :80 codegate:latest
153
+ docker run -p 8989:8989 -p 9090 :80 codegate:latest
154
154
155
155
# With pre-built pulled image
156
156
docker pull ghcr.io/stacklok/codegate/codegate:latest
157
- docker run --name codegate -d -p 8989:8989 -p 8990 :80 ghcr.io/stacklok/codegate/codegate:latest
157
+ docker run --name codegate -d -p 8989:8989 -p 9090 :80 ghcr.io/stacklok/codegate/codegate:latest
158
158
159
159
# It will mount a volume to /app/codegate_volume
160
160
# The directory supports storing Llama CPP models under subidrectoy /models
161
161
# A sqlite DB with the messages and alerts is stored under the subdirectory /db
162
- docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:8989 -p 8990 :80 ghcr.io/stacklok/codegate/codegate:latest
162
+ docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:8989 -p 9090 :80 ghcr.io/stacklok/codegate/codegate:latest
163
163
```
164
164
165
165
### Exposed parameters
@@ -171,7 +171,7 @@ docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:89
171
171
- CODEGATE_LOG_FORMAT: Type of log formatting desired when running the codegate server (default to TEXT, can be JSON/TEXT)
172
172
173
173
``` bash
174
- docker run -p 8989:8989 -p 8990 :80 -e CODEGATE_OLLAMA_URL=http://1.2.3.4:11434/api ghcr.io/stacklok/codegate/codegate:latest
174
+ docker run -p 8989:8989 -p 9090 :80 -e CODEGATE_OLLAMA_URL=http://1.2.3.4:11434/api ghcr.io/stacklok/codegate/codegate:latest
175
175
```
176
176
177
177
## 🤝 Contributing
Original file line number Diff line number Diff line change @@ -362,8 +362,8 @@ async def process_chunk(
362
362
# Create notification chunk
363
363
notification_chunk = self ._create_chunk (
364
364
chunk ,
365
- f"\n 🛡️ [Codegate prevented { redacted_count } { secret_text } ]"
366
- f"(http://localhost:8990 /?search=codegate-secrets) from being leaked "
365
+ f"\n 🛡️ [CodeGate prevented { redacted_count } { secret_text } ]"
366
+ f"(http://localhost:9090 /?search=codegate-secrets) from being leaked "
367
367
f"by redacting them.\n \n " ,
368
368
)
369
369
You can’t perform that action at this time.
0 commit comments