{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3f510eb0-bce4-49f0-8414-83afa0b700dd",
    "slug": "baserow-self-hosted-airtable-alternative",
    "name": "Baserow (Self-Hosted Airtable Alternative)",
    "description": "Open-source Airtable alternative — no-code database. [Updated Aug '26]",
    "url": "https://railway.com/deploy/baserow-self-hosted-airtable-alternative",
    "upstream": {
      "image": "baserow/baserow:2.3.3"
    }
  },
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "postgres:16"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "redis",
      "source": {
        "image": "redis:7-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "baserow",
      "source": {
        "image": "baserow/baserow:2.3.3"
      },
      "needs_volume": true,
      "volume_mount_path": "/baserow/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "postgres",
      "description": "PostgreSQL data directory (subdir avoids init error)",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "postgres",
      "description": "Baserow database name",
      "secret": false,
      "strategy": "default",
      "default": "baserow"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postgres",
      "description": "PostgreSQL superuser for Baserow",
      "secret": false,
      "strategy": "default",
      "default": "baserow"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Auto-generated PostgreSQL password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis",
      "description": "Auto-generated Redis password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "baserow",
      "description": "Internal Nuxt frontend port (Caddy proxies here)",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "DATA_DIR",
      "service": "baserow",
      "description": "Persistent data directory for uploads and media",
      "secret": false,
      "strategy": "default",
      "default": "/baserow/data"
    },
    {
      "key": "REDIS_HOST",
      "service": "baserow",
      "description": "Redis private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "baserow",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "SECRET_KEY",
      "service": "baserow",
      "description": "Django secret key for signing (auto-generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_HOST",
      "service": "baserow",
      "description": "PostgreSQL private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DATABASE_NAME",
      "service": "baserow",
      "description": "PostgreSQL database name",
      "secret": false,
      "strategy": "default",
      "default": "baserow"
    },
    {
      "key": "DATABASE_PORT",
      "service": "baserow",
      "description": "PostgreSQL port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "DATABASE_USER",
      "service": "baserow",
      "description": "PostgreSQL user",
      "secret": false,
      "strategy": "default",
      "default": "baserow"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "baserow",
      "description": "Redis password (from the Redis service)",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_PASSWORD",
      "service": "baserow",
      "description": "PostgreSQL password (from the database service)",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BASEROW_PUBLIC_URL",
      "service": "baserow",
      "description": "Public URL where Baserow is served",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MIGRATE_ON_STARTUP",
      "service": "baserow",
      "description": "Run database migrations on startup",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "BASEROW_CADDY_ADDRESSES",
      "service": "baserow",
      "description": "Caddy public listen address inside the container",
      "secret": false,
      "strategy": "default",
      "default": ":80"
    },
    {
      "key": "BASEROW_JWT_SIGNING_KEY",
      "service": "baserow",
      "description": "JWT token signing key (auto-generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BASEROW_AMOUNT_OF_WORKERS",
      "service": "baserow",
      "description": "Number of Baserow backend workers",
      "secret": false,
      "strategy": "default",
      "default": "1"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "baserow-self-hosted-airtable-alternative"
      }
    },
    "cli": "railway deploy --template baserow-self-hosted-airtable-alternative",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3f510eb0-bce4-49f0-8414-83afa0b700dd",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "010e0211-f4fb-4f10-acf8-7a44cd168048": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:16"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "PostgreSQL data directory (subdir avoids init error)",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Baserow database name",
                      "defaultValue": "baserow"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL superuser for Baserow",
                      "defaultValue": "baserow"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated PostgreSQL password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "010e0211-f4fb-4f10-acf8-7a44cd168048": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "270a9045-f5f4-4f62-bc7f-23fb7eb1bbdb": {
                  "icon": null,
                  "name": "redis",
                  "deploy": {
                    "startCommand": "sh -c 'redis-server --requirepass \"$REDIS_PASSWORD\"'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:7-alpine"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated Redis password",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "270a9045-f5f4-4f62-bc7f-23fb7eb1bbdb": {
                      "mountPath": "/data"
                    }
                  }
                },
                "b296e210-d513-4b3c-8af7-7201fea91b6d": {
                  "icon": null,
                  "name": "baserow",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "baserow/baserow:2.3.3"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Internal Nuxt frontend port (Caddy proxies here)",
                      "defaultValue": "3000"
                    },
                    "DATA_DIR": {
                      "isOptional": false,
                      "description": "Persistent data directory for uploads and media",
                      "defaultValue": "/baserow/data"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private host",
                      "defaultValue": "${{redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Django secret key for signing (auto-generated)",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_HOST": {
                      "isOptional": false,
                      "description": "PostgreSQL private host",
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DATABASE_NAME": {
                      "isOptional": false,
                      "description": "PostgreSQL database name",
                      "defaultValue": "baserow"
                    },
                    "DATABASE_PORT": {
                      "isOptional": false,
                      "description": "PostgreSQL port",
                      "defaultValue": "5432"
                    },
                    "DATABASE_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL user",
                      "defaultValue": "baserow"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password (from the Redis service)",
                      "defaultValue": "${{redis.REDIS_PASSWORD}}"
                    },
                    "DATABASE_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password (from the database service)",
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "BASEROW_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public URL where Baserow is served",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MIGRATE_ON_STARTUP": {
                      "isOptional": false,
                      "description": "Run database migrations on startup",
                      "defaultValue": "true"
                    },
                    "BASEROW_CADDY_ADDRESSES": {
                      "isOptional": false,
                      "description": "Caddy public listen address inside the container",
                      "defaultValue": ":80"
                    },
                    "BASEROW_JWT_SIGNING_KEY": {
                      "isOptional": false,
                      "description": "JWT token signing key (auto-generated)",
                      "defaultValue": "{{BASEROW_JWT_SIGNING_KEY}}"
                    },
                    "BASEROW_AMOUNT_OF_WORKERS": {
                      "isOptional": false,
                      "description": "Number of Baserow backend workers",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "b296e210-d513-4b3c-8af7-7201fea91b6d": {
                      "mountPath": "/baserow/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T16:12:59.490Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_de6c49cb48034186a471",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 117,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "baserow"
  }
}
