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
+10
@@ -0,0 +1,10 @@
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libc6 && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY bin/ /app/bin/
|
||||
RUN chmod +x /app/bin/* && mkdir -p /data/uploads
|
||||
|
||||
WORKDIR /data
|
||||
ENTRYPOINT ["/bin/sh", "-c", "mkdir -p /data/uploads && exec /app/bin/sondibd"]
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+60
@@ -0,0 +1,60 @@
|
||||
services:
|
||||
sondibd:
|
||||
image: sondib:latest
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7777:7777/tcp"
|
||||
- "7777:7777/udp"
|
||||
working_dir: /data
|
||||
volumes:
|
||||
- station-data:/data
|
||||
cpus: 2.0
|
||||
mem_limit: 2g
|
||||
pids_limit: 64
|
||||
healthcheck:
|
||||
test: ["CMD", "/app/bin/sdb", "list", "127.0.0.1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 5s
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
cleaner:
|
||||
image: sondib:latest
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
entrypoint: ["/app/bin/sdclean"]
|
||||
command: ["/data"]
|
||||
|
||||
working_dir: /data
|
||||
pid: service:sondibd
|
||||
depends_on:
|
||||
sondibd:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- station-data:/data
|
||||
environment:
|
||||
SONDIB_RETENTION_SECONDS: ${SONDIB_RETENTION_SECONDS:-3600}
|
||||
SONDIB_CLEAN_INTERVAL_SECONDS: ${SONDIB_CLEAN_INTERVAL_SECONDS:-30}
|
||||
cpus: 2.0
|
||||
mem_limit: 2g
|
||||
pids_limit: 32
|
||||
healthcheck:
|
||||
test: ["CMD", "/app/bin/sdclean", "/data", "check"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
station-data:
|
||||
Reference in new issue
Block a user