25 lines
801 B
YAML
25 lines
801 B
YAML
services:
|
|
tls-audit:
|
|
profiles: [student-test]
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.worker
|
|
entrypoint: [python, /audit/tls_matrix.py]
|
|
networks: [default, telemetry]
|
|
read_only: true
|
|
cap_drop: [ALL]
|
|
security_opt: [no-new-privileges:true]
|
|
mem_limit: 96m
|
|
cpus: 0.5
|
|
volumes:
|
|
- ./student-tests/tls_matrix.py:/audit/tls_matrix.py:ro
|
|
- ./secrets/pki/ca.crt:/pki/ca.crt:ro
|
|
- ./secrets/pki/lb.crt:/pki/lb.crt:ro
|
|
- ./secrets/pki/lb.key:/pki/lb.key:ro
|
|
- ./secrets/pki/api.crt:/pki/api.crt:ro
|
|
- ./secrets/pki/api.key:/pki/api.key:ro
|
|
- ./secrets/pki/worker.crt:/pki/worker.crt:ro
|
|
- ./secrets/pki/worker.key:/pki/worker.key:ro
|
|
- ./secrets/pki/health.crt:/pki/health.crt:ro
|
|
- ./secrets/pki/health.key:/pki/health.key:ro
|