Installation
InfraBuffet has two external dependencies:
- PostgreSQL 17+
- Terraform or OpenTofu. Install the
terraformortofubinary on the same machine as the InfraBuffet worker.
The worker requires a Terraform-compatible CLI that supports JSON version output through version -json. All
OpenTofu releases provide this interface. Configure the binary’s absolute path when creating an infrastructure.
Download ibf-linux-amd64.zip for 64-bit x86 Linux or ibf-darwin-arm64.zip for Apple Silicon macOS from the
GitHub releases page. Extract the archive to get the ibf binary.
Build from source
Install Git, Make, Go 1.27.1 or later, and Node.js 18.19.1 with npm.
On macOS, make sure sed on your PATH is GNU sed.
git clone https://github.com/amyasnikov/ibf.git
cd ibf
make build-prodThe build produces dist/ibf with the web UI embedded.
Run the ./ibf commands below from dist/.
Start PostgreSQL
The following database credentials are examples for this local walkthrough. Use your own credentials for a shared installation.
docker run --name ibfdb \
-e POSTGRES_USER=ibf \
-e POSTGRES_PASSWORD=ibfpasswd \
-e POSTGRES_DB=ibf \
-p 127.0.0.1:5432:5432 \
-v ibfdb:/var/lib/postgresql/data \
-d postgres:17Set the database connection for the CLI and server:
export IBF_DBURL='postgres://ibf:ibfpasswd@127.0.0.1:5432/ibf?sslmode=disable'Initialize the database and first account
addsuperuser command creates superuser account. --migrate flag applies pending DB migrations if there are any:
./ibf addsuperuser --migrate
username: admin
email: admin@example.com
password:
2026/10/10 01:28:53 INFO Superuser created successfully id=1 username=adminA superuser can create teams and users, assign memberships, and administer infrastructure.
Run InfraBuffet
./ibf run --bind 127.0.0.1:8009
runstarts both webserver and job worker in a single process which is convenient for a lab setup. For a production deployment it’s highly recommended to start 2 separate processes with the following commands:./ibf runweb --bind 127.0.0.1:8009 ./ibf runworker
Now you can open the UI in your web browser at http://127.0.0.1:8009 and log in with the username admin and the password you chose.
Continue with the Quick start.