mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 14:31:01 +00:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
# Capture mode: LIVE, FILE, or VIEW.
|
|
PACKMATE_MODE=LIVE
|
|
|
|
# LIVE mode: set these to the interface carrying game traffic and its local IP.
|
|
PACKMATE_INTERFACE=game
|
|
PACKMATE_LOCAL_IP=10.20.1.1
|
|
|
|
# FILE mode: put the file in ./pcaps and set its name here.
|
|
PACKMATE_PCAP_FILE=
|
|
|
|
# Web interface credentials.
|
|
PACKMATE_WEB_LOGIN=BinaryBears
|
|
PACKMATE_WEB_PASSWORD=change-me
|
|
|
|
# PostgreSQL credentials. Use a strong value on a real installation.
|
|
PACKMATE_DB_PASSWORD=change-me-too
|
|
|
|
# Capture pipeline. One worker is the safe compatibility default.
|
|
PACKMATE_CAPTURE_WORKERS=1
|
|
PACKMATE_CAPTURE_QUEUE_CAPACITY=250000
|
|
PACKMATE_CAPTURE_BUFFER_SIZE_BYTES=67108864
|
|
PACKMATE_CAPTURE_SHUTDOWN_TIMEOUT_SECONDS=30
|
|
PACKMATE_CONTAINER_STOP_GRACE_PERIOD=45s
|
|
|
|
# Retention cleanup for LIVE mode.
|
|
PACKMATE_OLD_STREAMS_CLEANUP_ENABLED=true
|
|
PACKMATE_OLD_STREAMS_CLEANUP_INTERVAL_SECONDS=10
|
|
PACKMATE_OLD_STREAMS_CLEANUP_MAX_RUN_SECONDS=5
|
|
PACKMATE_OLD_STREAMS_CLEANUP_COMMIT_GRACE_SECONDS=120
|
|
PACKMATE_OLD_STREAMS_CLEANUP_THRESHOLD=15
|
|
PACKMATE_OLD_STREAMS_CLEANUP_BATCH_SIZE=500
|
|
PACKMATE_OLD_STREAMS_CLEANUP_MAX_BATCHES_PER_RUN=20
|
|
PACKMATE_OLD_STREAMS_CLEANUP_MAX_PACKETS_PER_BATCH=20000
|
|
PACKMATE_OLD_STREAMS_CLEANUP_MAX_MATCHES_PER_BATCH=20000
|
|
PACKMATE_OLD_STREAMS_CLEANUP_MAX_BYTES_PER_BATCH=67108864
|
|
PACKMATE_OLD_STREAMS_CLEANUP_STATEMENT_TIMEOUT_SECONDS=5
|
|
PACKMATE_OLD_STREAMS_CLEANUP_LOCK_TIMEOUT_SECONDS=1
|
|
|
|
# Local image tag produced by Docker Compose.
|
|
BUILD_TAG=latest
|