-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration options
You can adjust various BugHog configuration settings by creating this file.
Simply copy ./config/.env.example to ./config/.env and fill in your desired configuration.
Be sure to:
- comment all unused configuration variables.
- restart BugHog (
./scripts/start.sh) after every change.
By default, BugHog uses a MongoDB container to store data.
This data is persisted in the ./database folder.
If you prefer storing data in your own MongoDB instance, fill in the following environment variables:
BCI_MONGO_HOSTBCI_MONGO_USERNAMEBCI_MONGO_DATABASEBCI_MONGO_PASSWORD
Caching binaries in between evaluations can save you some bandwidth, since a binary is downloaded at the start of each experiment. By default, BugHog doesn't cache any binaries.
However, this can be activated by setting BCI_BINARY_CACHE_LIMIT.
This variable indicates how many binaries are allowed to be cached in MongoDB.
Note
Version release binaries are given priority and are never evicted, as they are the most likely to be reused for evaluation. Commit or revision binaries, on the other hand, are evicted based on their usage frequency, with the least frequently used binaries being evicted first.
You can run previous release versions of BugHog.
Simply run docker compose up with the BUGHOG_VERSION variable.
For example, for v2.1.1:
BUGHOG_VERSION=v2.1.1 docker compose upSimply checkout the tagged source code and build BugHog again before running.
For example, checkout version v2.1.1 like so:
# Checkout the appropriate tag
git checkout v2.1.1
# Build images
docker compose build
docker compose up -d --force-recreate core nginxNote
We don't make use of the convenience scripts in ./scripts/ because you might want to checkout a version where these scripts were not yet part of the repository.