-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (26 loc) · 963 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
28 lines (26 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Run the CloakPipe OSS proxy with one command:
#
# echo "OPENAI_API_KEY=sk-..." > .env
# echo "CLOAKPIPE_VAULT_KEY=$(openssl rand -hex 32)" >> .env # optional but recommended
# docker compose up -d
#
# The image bundles docker/cloakpipe.docker.toml (binds 0.0.0.0:8900, NER off so
# no model download). Point your OpenAI SDK at http://localhost:8900/v1.
services:
cloakpipe:
build: .
image: cloakpipe:latest
ports:
- "8900:8900"
volumes:
# The bundled config writes the vault + audit log under /data.
- cloakpipe-data:/data
environment:
# Upstream provider key CloakPipe forwards (required).
- OPENAI_API_KEY=${OPENAI_API_KEY:?set OPENAI_API_KEY in .env}
# 64-char hex vault key (optional; a key is auto-generated if unset).
- CLOAKPIPE_VAULT_KEY=${CLOAKPIPE_VAULT_KEY:-}
- RUST_LOG=${RUST_LOG:-cloakpipe=info,tower_http=info}
restart: unless-stopped
volumes:
cloakpipe-data: