Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,16 @@ make image-build
### Run the Container
```bash
# Basic usage with local image
docker run -p 8989:8989 -p 8990:80 codegate:latest
docker run -p 8989:8989 -p 9090:80 codegate:latest

# With pre-built pulled image
docker pull ghcr.io/stacklok/codegate/codegate:latest
docker run --name codegate -d -p 8989:8989 -p 8990:80 ghcr.io/stacklok/codegate/codegate:latest
docker run --name codegate -d -p 8989:8989 -p 9090:80 ghcr.io/stacklok/codegate/codegate:latest

# It will mount a volume to /app/codegate_volume
# The directory supports storing Llama CPP models under subidrectoy /models
# A sqlite DB with the messages and alerts is stored under the subdirectory /db
docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:8989 -p 8990:80 ghcr.io/stacklok/codegate/codegate:latest
docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:8989 -p 9090:80 ghcr.io/stacklok/codegate/codegate:latest
```

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

```bash
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
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
```

## 🤝 Contributing
Expand Down
4 changes: 2 additions & 2 deletions src/codegate/pipeline/secrets/secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ async def process_chunk(
# Create notification chunk
notification_chunk = self._create_chunk(
chunk,
f"\n🛡️ [Codegate prevented {redacted_count} {secret_text}]"
f"(http://localhost:8990/?search=codegate-secrets) from being leaked "
f"\n🛡️ [CodeGate prevented {redacted_count} {secret_text}]"
f"(http://localhost:9090/?search=codegate-secrets) from being leaked "
f"by redacting them.\n\n",
)

Expand Down