Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 6e67492

Browse files
authored
Merge pull request #324 from stacklok/minor-fix-secrets-msg
Fix port in message to match the documented port.
2 parents c88573b + c828ce3 commit 6e67492

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,16 @@ make image-build
150150
### Run the Container
151151
```bash
152152
# 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
154154

155155
# With pre-built pulled image
156156
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
158158

159159
# It will mount a volume to /app/codegate_volume
160160
# The directory supports storing Llama CPP models under subidrectoy /models
161161
# 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
163163
```
164164

165165
### Exposed parameters
@@ -171,7 +171,7 @@ docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:89
171171
- CODEGATE_LOG_FORMAT: Type of log formatting desired when running the codegate server (default to TEXT, can be JSON/TEXT)
172172

173173
```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
175175
```
176176

177177
## 🤝 Contributing

src/codegate/pipeline/secrets/secrets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ async def process_chunk(
362362
# Create notification chunk
363363
notification_chunk = self._create_chunk(
364364
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 "
367367
f"by redacting them.\n\n",
368368
)
369369

0 commit comments

Comments
 (0)