-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (24 loc) · 931 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (24 loc) · 931 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
# Mode B, for a team that wants a shared cache and provider keys off individual machines.
#
# Optional. The extension ships in Mode A and does the whole job on the device; nothing here
# is required to use truthlens, and we do not run a hosted instance of it.
#
# Note what is absent: no log driver collecting request bodies, no analytics sidecar, no
# volume that would persist what anyone read. A proxy for a tool like this is otherwise an
# excellent record of its users' reading, and that is a thing worth not building.
services:
api:
build:
context: .
dockerfile: apps/api/Dockerfile
ports:
- '127.0.0.1:8000:8000'
environment:
# Provider keys are supplied by the operator and are never baked into the image.
TRUTHLENS_LOG_LEVEL: ${TRUTHLENS_LOG_LEVEL:-info}
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
restart: unless-stopped