diff --git a/README.md b/README.md index 0156a1ae..9c745a47 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/src/codegate/pipeline/secrets/secrets.py b/src/codegate/pipeline/secrets/secrets.py index 82b08fab..a87624e5 100644 --- a/src/codegate/pipeline/secrets/secrets.py +++ b/src/codegate/pipeline/secrets/secrets.py @@ -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", )