Skip to content

Commit d4fa6e5

Browse files
committed
add polite-guard service
Signed-off-by: Ankur-singh <[email protected]>
1 parent f290d18 commit d4fa6e5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

comps/guardrails/deployment/docker_compose/compose.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,20 @@ services:
104104
PREDICTIONGUARD_API_KEY: ${PREDICTIONGUARD_API_KEY}
105105
restart: unless-stopped
106106

107+
# polite guard service
108+
guardrails-polite-guard-server:
109+
image: ${REGISTRY:-opea}/guardrails-polite-guard:${TAG:-latest}
110+
container_name: guardrails-polite-guard-server
111+
ports:
112+
- "${POLITE_GUARD_PORT:-9092}:9092"
113+
ipc: host
114+
environment:
115+
no_proxy: ${no_proxy}
116+
http_proxy: ${http_proxy}
117+
https_proxy: ${https_proxy}
118+
HUGGINGFACEHUB_API_TOKEN: ${HF_TOKEN}
119+
restart: unless-stopped
120+
107121
# predictionguard injection service
108122
injection-predictionguard-server:
109123
image: ${REGISTRY:-opea}/injection-predictionguard:${TAG:-latest}

0 commit comments

Comments
 (0)