-
Notifications
You must be signed in to change notification settings - Fork 159
DOCKER
marcvergees edited this page Apr 19, 2026
·
1 revision
FireForm uses Docker to ensure a consistent environment across different machines.
We use three main containers:
-
fireform-app: Runs the FastAPI server onhttp://localhost:8000. -
fireform-frontend: Serves the frontend onhttp://localhost:5173. -
fireform-ollama: Runs Ollama for LLM calls.
The Makefile simplifies common Docker tasks. You can run these commands from the project root:
| Command | Description |
|---|---|
make build |
Build Docker images |
make up |
Start all containers in the background |
make down |
Stop all containers |
make logs |
View logs from all containers |
make shell |
Open a bash shell in the app container |
make pull-model |
Pull the Mistral model into Ollama |
make clean |
Remove all containers and volumes |
make help |
Show all available commands |
-
Logs: Use
make logsto see what's happening inside the containers. -
Port Conflicts: If port 11434 (Ollama) or 8000 (App) is already in use, you may need to stop the conflicting process or change the mapping in
docker-compose.yml. -
Model not found: If LLM calls fail, ensure you've run
make pull-model.