Skip to main content

Minimal config

tinfoil-config.yml

With environment variables and secrets

tinfoil-config.yml

With outbound network access

tinfoil-config.yml

GPU inference server (vLLM)

Use a vLLM image that supports your model, with curl available for the healthcheck. See Model weights for preparing the weights.
tinfoil-config.yml
The tmpfs mounts give vLLM writable scratch space on the read-only root filesystem. Set start_period longer than your model takes to load. There is no networks block, so the container has no internet access; anything it needs at runtime must be in the image.

Multi-container setup

Containers on the same network reach each other by name. They start in parallel, so the worker must retry until the API is up.
tinfoil-config.yml