# Use with compose.yml, only in a new disposable project. services: packmate: command: - java - -Xmx2g - -jar - /app/app.jar - --spring.datasource.url=jdbc:postgresql://db:5432/packmate - --spring.datasource.password=network-stress - --packmate.capture-mode=LIVE - --packmate.interface-name=eth0 - --packmate.local-ip=172.31.250.10 - --packmate.web.account-login=stress - --packmate.web.account-password=stress - --packmate.timeout.tcp-stream-timeout=5 - --packmate.timeout.check-interval=1 - --packmate.capture.workers=8 - --packmate.capture.queue-capacity=250000 - --packmate.cleanup.enabled=true - --packmate.cleanup.threshold=60 - --packmate.cleanup.interval-seconds=1 - --packmate.cleanup.commit-grace-seconds=0 - --packmate.cleanup.batch-size=20 - --packmate.cleanup.max-batches-per-run=1 - --server.port=65000 - --server.address=0.0.0.0 mcp: environment: PACKMATE_MCP_JOB_MAX_MIB: "2" PACKMATE_MCP_JOB_TIMEOUT_SECONDS: "10" tester: command: [sh, -c, "pip install -q psycopg[binary]==3.2.9 websockets==15.0.1 && python /app/tests/capacity.py"] environment: MCP_STRESS_STREAMS: ${MCP_STRESS_STREAMS:-50000} MCP_STRESS_SECONDS: ${MCP_STRESS_SECONDS:-120} volumes: - ../../stress/network:/stress:ro