feat(security): add operator rotation and recovery commands
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -8,3 +8,29 @@ services:
|
||||
worker:
|
||||
environment:
|
||||
PIPELINE_FAULTS: '1'
|
||||
controller:
|
||||
image: ${API_IMAGE:-mtusi-messenger:lab7}
|
||||
pull_policy: never
|
||||
entrypoint:
|
||||
- python
|
||||
user: 10001:10001
|
||||
environment:
|
||||
IDENTITY_ENABLED: '1'
|
||||
volumes:
|
||||
- ./secrets/operator-task:/run/identity:ro
|
||||
- ./trust:/trust:ro
|
||||
read_only: true
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=8m
|
||||
cpus: 0.5
|
||||
mem_limit: 192m
|
||||
pids_limit: 64
|
||||
healthcheck:
|
||||
disable: true
|
||||
command:
|
||||
- -c
|
||||
- import time;time.sleep(86400)
|
||||
|
||||
Reference in New Issue
Block a user