chore: import MCTF services
- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
This commit is contained in:
commit
13f936bee9
1222 files changed
+21280
No files matched your search
Executable
+39
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
braindance:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
cpus: "1.0"
|
||||
mem_limit: 512m
|
||||
memswap_limit: 512m
|
||||
pids_limit: 128
|
||||
stop_grace_period: 45s
|
||||
ulimits:
|
||||
nofile: {soft: 1024, hard: 1024}
|
||||
tmpfs:
|
||||
- /tmp:size=64m,mode=1777
|
||||
logging:
|
||||
driver: json-file
|
||||
options: {max-size: "10m", max-file: "3"}
|
||||
env_file: env
|
||||
environment:
|
||||
PYTHONUNBUFFERED: "1"
|
||||
PYTHONDONTWRITEBYTECODE: "1"
|
||||
RETENTION_SECONDS: ${RETENTION_SECONDS:-1800}
|
||||
FLAG_LIFETIME_SECONDS: ${FLAG_LIFETIME_SECONDS:-300}
|
||||
CLEANUP_INTERVAL_SECONDS: ${CLEANUP_INTERVAL_SECONDS:-15}
|
||||
SNAPSHOT_INTERVAL_SECONDS: ${SNAPSHOT_INTERVAL_SECONDS:-15}
|
||||
MAX_DATA_BYTES: ${BD_MAX_DATA_BYTES:-67108864}
|
||||
ports:
|
||||
- "5000:5000"
|
||||
volumes:
|
||||
- braindance-data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c",
|
||||
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:5000/health', timeout=2).close()"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
start_period: 10s
|
||||
retries: 3
|
||||
volumes:
|
||||
braindance-data:
|
||||
Reference in new issue
Block a user