mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 14:31:01 +00:00
55 lines
1.9 KiB
YAML
55 lines
1.9 KiB
YAML
# Overlay for the existing isolated TCP stress network. Never use with a production DB.
|
|
services:
|
|
packmate:
|
|
image: registry.gitlab.com/packmate/packmate:latest
|
|
volumes:
|
|
- ../../build/libs/packmate-1.0-SNAPSHOT.jar:/app/app.jar:ro
|
|
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=2
|
|
- --packmate.capture.queue-capacity=250000
|
|
- --packmate.cleanup.enabled=true
|
|
- --packmate.cleanup.threshold=1
|
|
- --packmate.cleanup.interval-seconds=1
|
|
- --packmate.cleanup.commit-grace-seconds=0
|
|
- --packmate.cleanup.batch-size=10
|
|
- --packmate.cleanup.max-batches-per-run=1
|
|
- --server.port=65000
|
|
- --server.address=0.0.0.0
|
|
mcp:
|
|
image: packmate-mcp:dev
|
|
environment:
|
|
PACKMATE_MCP_ENABLED: "true"
|
|
PACKMATE_MCP_TOKEN: mcp-integration-test-token-000000000000
|
|
PACKMATE_MCP_BIND: 0.0.0.0
|
|
PACKMATE_MCP_ALLOWED_HOSTS: mcp:*
|
|
PACKMATE_BACKEND_URL: http://172.31.250.10:65000
|
|
PACKMATE_WEB_LOGIN: stress
|
|
PACKMATE_WEB_PASSWORD: stress
|
|
volumes:
|
|
- ../../mcp:/app:ro
|
|
mem_limit: 512m
|
|
cpus: 1.0
|
|
networks: [stress]
|
|
tester:
|
|
image: packmate-mcp:dev
|
|
user: root
|
|
profiles: [tools]
|
|
command: [sh, -c, "pip install -q psycopg[binary]==3.2.9 websockets==15.0.1 && python /app/tests/integration.py"]
|
|
volumes:
|
|
- ../../mcp:/app:ro
|
|
- ../../build/reports/mcp:/reports
|
|
networks: [stress]
|