---
title: Deploy Dolibarr with AI on Blossom
url: "/deploy/dolibarr/"
canonical_url: https://blossom88.com/deploy/dolibarr/
markdown_url: https://blossom88.com/deploy/dolibarr.md
summary: Deploy Dolibarr with AI on Blossom. Track a customer, create a proposal,
  and draft an invoice.
categories:
- deployment
- business
stack:
- PHP
- Apache
- MySQL
---

# Deploy Dolibarr with AI on Blossom

[Dolibarr](https://www.dolibarr.org/) is an open-source ERP and CRM for small
businesses. It brings customer records, proposals, and invoices together.

![A draft invoice for a sample customer in Dolibarr.](/deploy/assets/images/dolibarr/draft-invoice.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Dolibarr on Blossom and help me draft my first invoice.
>
> Follow this guide: https://blossom88.com/deploy/dolibarr/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## Draft an Invoice

Create a customer, add a service to a proposal, and prepare an invoice.
Leave it in draft while you check the details.

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

Use the [official Dolibarr image](https://hub.docker.com/r/dolibarr/dolibarr),
managed MySQL, and one [Persistent Service](/docs/apps/persistent-services/)
for the documents directory. Keep the instance key stable. Set a unique
administrator password and enable Third Parties, Commercial Proposals,
and Invoices.

The first start installs the database schema. If the health check times
out after Apache starts, deploy again with the same database and Volume.

    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data mysql.yml
    blossom environment_link:create --data mysql-link.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- A private workspace with customers, proposals, and invoices
- Customer records in managed MySQL and documents on a Volume
