# Using Docker Compose

The following guide walks you through self-hosting Fabricate on a single virtual private server (VPS) or a bare metal server.

This deployment uses a Docker Compose setup where:

* All services run on the same machine.
* Data are stored in local volumes.

You can host Fabricate on any cloud provider, such as:

* Amazon EC2
* Google Cloud VM
* Microsoft Azure VM
* DigitalOcean droplet

You can also deploy Fabricate on a bare metal server.

This guide uses an Amazon EC2 instance, but the setup is the same for any other provider.

Before you start, confirm that your server meets the [minimum hardware requirements](/fabricate/self-hosting-fabricate/fabricate-requirements.md).

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>System requirements</strong><br><br>Requirements for a Docker Compose deployment.</td><td><a href="/pages/GhpUzSC7R8ki1bOBD6ir">/pages/GhpUzSC7R8ki1bOBD6ir</a></td></tr><tr><td><strong>Complete the deployment</strong><br><br>Steps to complete a Fabricate deployment using Docker compose.</td><td><a href="/pages/GbuZHWdnwz9l6UxLXqx9">/pages/GbuZHWdnwz9l6UxLXqx9</a></td></tr><tr><td><strong>Troubleshoot the deployment</strong><br><br>Common issues and how to address them.</td><td><a href="/pages/RTnkmFz4ICeSoPENPNP1">/pages/RTnkmFz4ICeSoPENPNP1</a></td></tr><tr><td><strong>Upgrade Fabricate</strong><br><br>How to upgrade your instance to a new version of Fabricate.</td><td><a href="/pages/Tvyt0upzZpTKnaejNv7z">/pages/Tvyt0upzZpTKnaejNv7z</a></td></tr><tr><td><strong>Uninstall Fabricate</strong><br><br>Removing a Fabricate instance.</td><td><a href="/pages/FaBwnPVQqEXOcOOLf90Q">/pages/FaBwnPVQqEXOcOOLf90Q</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/fabricate/self-hosting-fabricate/deploying-and-managing-a-self-hosted-instance/using-docker-compose.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
