Import ECS deployed relay source and historical patches (2026-10-27)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
connector:
|
||||
environment:
|
||||
HN_ENROLLMENT_SIGNER_URL: <REDACTED_LITERAL>
|
||||
depends_on:
|
||||
enrollment-signer:
|
||||
condition: service_healthy
|
||||
enrollment-signer:
|
||||
image: hainuo-relay:0.1.0
|
||||
entrypoint:
|
||||
- python
|
||||
- -m
|
||||
- relay.enrollment_signer
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
HN_INTERNAL_SECRET: ${HN_INTERNAL_SECRET}
|
||||
volumes:
|
||||
- ./runtime/issuer:/issuer:ro
|
||||
- ./runtime/trust:/trust:ro
|
||||
networks:
|
||||
- backend
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=16m,noexec,nosuid
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
mem_limit: 128m
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- python
|
||||
- -c
|
||||
- import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/ready',
|
||||
timeout=3)
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
Reference in New Issue
Block a user