Setting Up Baserow on Docker (Windows) with External PostgreSQL and Cloudflare R2

I want to install Baserow on Docker (Windows) with the following requirements:

  1. Database Storage

    • Baserow should use PostgreSQL installed on the same host machine (not in a Docker container).

    • No application data should be stored in Docker volumes.

  2. File Storage

    • All file attachments should be saved directly to a Cloudflare R2 bucket.
  3. Reason for This Setup

    • We are a document management company and handle a large volume of scanned documents daily.

    • We need a clear separation of data (database and files) from Docker volumes for easier backup and restoration.

  4. Current Context

    • We already run another database application with a similar setup (external PostgreSQL and R2 cloud storage).

    • However, I am having difficulty understanding how to replicate this structure for Baserow.

If anyone can support us with a good production ready yml I would really appreciate

Hi @Muhammad,

have you already look at With an external PostgresSQL server section in Install with Docker?

For what concern the file storage, Cloudflare R2 implements an S3 Compatible API so you should be able to configure it by looking at the File Service alternatives section in Configuring Baserow.

I hope this helps.