Files
mctf/sondib/compose.yml
T
TakuyaYagam1 9fc8e1ee68 fix(sondib): remove implicit admin session
- Initialize unauthenticated connections with a non-user sentinel.
- Use a bounded search health check instead of listing the full store.
2026-11-29 17:24:29 +03:00

43 lines
925 B
YAML
Executable File

services:
sondibd:
image: sondib:latest
build: .
restart: unless-stopped
ports:
- "7777:7777/tcp"
- "7777:7777/udp"
working_dir: /data
volumes:
- station-data:/data
environment:
SONDIB_RETENTION_SECONDS: ${SONDIB_RETENTION_SECONDS:-3600}
SONDIB_CLEAN_INTERVAL_SECONDS: ${SONDIB_CLEAN_INTERVAL_SECONDS:-30}
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
security_opt:
- no-new-privileges:true
read_only: true
tmpfs:
- /tmp:noexec,nosuid,size=64m
cpus: 2.0
mem_limit: 2g
pids_limit: 64
healthcheck:
test: ["CMD", "/app/bin/sdb", "search", "127.0.0.1", "__healthcheck_nonexistent__"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
station-data: