---
title: Deploy Baserow with AI on Blossom
url: "/deploy/baserow/"
canonical_url: https://blossom88.com/deploy/baserow/
markdown_url: https://blossom88.com/deploy/baserow.md
summary: Deploy Baserow with AI on Blossom. Build a spreadsheet-style customer tracker
  with forms, managed PostgreSQL and Redis, and files in your private S3 or R2 bucket.
stack:
- Python
- Django
- JavaScript
- Vue
- Nuxt
- PostgreSQL
- Redis
---

# Deploy Baserow with AI on Blossom

[Baserow](https://baserow.io/) lets you build databases through a spreadsheet
interface. Create customer trackers, project lists, and forms without building
a custom application.

## Ask Your Agent

> **Ask your AI agent:** Deploy Baserow on Blossom with R2 for files. Help me build a customer tracker and form.
>
> Follow this guide: https://blossom88.com/deploy/baserow/

[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).

## Your Workspace

| Part | Purpose |
|---|---|
| Baserow | Workspace, forms, API, and background tasks |
| Managed PostgreSQL | Users, tables, and records |
| Managed Redis | Queued work and realtime coordination |
| Your S3 or R2 bucket | Uploaded files and exports |

Bring a private bucket. Keep the workspace behind Blossom Account access;
sharing a form outside your Account needs an explicit access policy.

![Baserow customer tracker with sample companies, contacts, and follow-up notes.](/deploy/assets/images/baserow/customer-tracker.webp)

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

Check the current [Baserow Docker guide](https://baserow.io/docs/installation/install-with-docker)
and [configuration reference](https://baserow.io/docs/installation/configuration).
Choose a maintained release, pin its compatible multi-architecture image index,
and save the selected version and resources with the deployment.

Use the official all-in-one image with external managed PostgreSQL and Redis.
The image runs the frontend, backend, and background tasks together. Its
standalone images are an alternative when those roles need independent scaling.

    blossom profile:show
    blossom app:create --data '{"app":{"name":"baserow"}}'
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml --follow
    blossom cache_instance:create --data redis.yml --follow
    blossom database:list --database_instance database_instance-100

Create a prebuilt-image Environment with Blossom Account access. Link the
logical PostgreSQL Database and Redis cache:

    blossom environment_link:create --data '{"environment_link":{"environment_id":"environment-100","target_type":"Database","target_id":"database-100","var_name":"DATABASE_URL"}}'
    blossom environment_link:create --data '{"environment_link":{"environment_id":"environment-100","target_type":"CacheInstance","target_id":"cache_instance-100","var_name":"REDIS_URL"}}'

Keep `SECRET_KEY` and `BASEROW_JWT_SIGNING_KEY` stable in a private
.env.production file. Configure a private bucket and a credential restricted
to it. Temporary credentials also need
`AWS_SESSION_TOKEN`; replace them before expiration. Give browser downloads
CORS access from your Baserow HTTPS origin.

```yaml
DISABLE_VOLUME_CHECK: "yes"
BASEROW_CADDY_ADDRESSES: ":80"
BASEROW_AMOUNT_OF_GUNICORN_WORKERS: "1"
BASEROW_AMOUNT_OF_WORKERS: "1"
BASEROW_RUN_MINIMAL: "yes"
MIGRATE_ON_STARTUP: "false"
AWS_STORAGE_BUCKET_NAME: your-private-bucket
AWS_S3_REGION_NAME: auto
AWS_S3_ENDPOINT_URL: https://your-account.r2.cloudflarestorage.com
AWS_S3_ADDRESSING_STYLE: path
AWS_DEFAULT_ACL: ""
AWS_QUERYSTRING_AUTH: "true"
AWS_QUERYSTRING_EXPIRE: "300"
DOWNLOAD_FILE_VIA_XHR: "1"
```

Supply `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` through the private file.
Do not set a public custom media domain. Signed download links grant access to
anyone holding them until expiry; they are not workspace permission checks.

Use regular App Capacity: no Service Volume is needed when PostgreSQL, Redis,
uploads, and exports are external. Disable the image's Volume check only after
configuring those stores. Preserve the upstream startup script and set
`BASEROW_PUBLIC_URL` to the generated HTTPS address using `BLOSSOM_SERVICE_URL`
at startup. In service.yml, `$$` preserves the variable for runtime expansion:

```yaml
service:
  environment_id: environment-100
  name: web
  entrypoint: /bin/bash
  command: -c 'unset PORT; export BASEROW_PUBLIC_URL="$$BLOSSOM_SERVICE_URL"; exec /baserow.sh start'
  port: 80
  publicly_exposed: true
  desired_size: 1
  resources:
    preset: large
  health_check:
    enabled: true
    kind: command
    command: ["/bin/bash", "-c", "curl -fsS http://127.0.0.1:8000/api/_health/ && curl -fsS http://127.0.0.1:3000/_health/"]
    start_period: 240s
    interval: 15s
    timeout: 20s
    retries: 30
```

Size for the combined processes and first-start migrations. The worker-count
and minimal-mode settings can reduce memory use for a small workspace;
review upstream guidance before increasing concurrency.

    blossom env_var:push --environment environment-100 --file .env.production
    blossom service:create --data web.yml

Run the schema migration in a Release Phase hook before workers start. It uses
the Environment image and matches the largest enabled Service allocation.

```yaml
deploy_hooks:
  release_phase:
    enabled: true
    command: /bin/bash -c 'export BASEROW_PUBLIC_URL=http://localhost; exec /baserow.sh backend-cmd manage locked_migrate'
    timeout_seconds: 600
```

    blossom environment:deploy_hooks:update --id environment-100 --data deploy-hooks.yml
    blossom environment:deploy --id environment-100 --follow
    blossom environment:show --id environment-100

Open the address, create the owner, and create a database and table. Add a file
field and form. Configure SMTP before relying on invitations or password
resets. Some advanced permissions and features require a Baserow paid license;
check its [editions](https://baserow.io/pricing) for your needs. AI provider
features need separate model configuration and may require pgvector; this
example uses tables and forms.

</details>

<details class="optional-reading" markdown="1">
<summary>Updates and scaling</summary>

Keep the database, bucket, and both signing keys when replacing Containers.
Back up PostgreSQL and bucket contents before upgrading. Deploy a compatible
image and check fresh login, saved records, file downloads, and a new form
submission.

    blossom environment:update --id environment-100 --data image-update.yml
    blossom environment:deploy --id environment-100 --follow
    blossom container:list --environment environment-100
    blossom activity:logs --id activity-100

This recipe qualifies one Container. External storage removes its local-data
dependency; multiple replicas still need coordinated migrations, scheduled work,
and upstream scaling guidance. Do not infer high availability from R2 alone.

[Source code](https://github.com/baserow/baserow).

</details>

## What You Get

- A private spreadsheet-style workspace at an HTTPS address
- A customer tracker, form, and authenticated records API
- Managed PostgreSQL and Redis, with uploads in your own bucket
