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: