{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3d793c96-a310-42ca-9e66-d8085a46f4f8",
    "slug": "baserow-database",
    "name": "Baserow | Open-Source Airtable Alternative with Postgres & Redis",
    "description": "No-code database and app builder on Postgres, admin created on boot",
    "url": "https://railway.com/deploy/baserow-database",
    "upstream": {
      "repo_url": "https://github.com/two-workspaces/baserow"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.3-alpine"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Baserow",
      "source": {
        "repo": "https://github.com/two-workspaces/baserow"
      },
      "needs_volume": true,
      "volume_mount_path": "/baserow/data",
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "postgres:17.11-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auto-generated Redis password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Baserow",
      "description": "HTTP port - leave as is.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "REDIS_URL",
      "service": "Baserow",
      "description": "Redis connection for Celery, cache and real-time updates (private network)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SECRET_KEY",
      "service": "Baserow",
      "description": "Django secret key. Changing it signs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "Baserow",
      "description": "Postgres connection (private network)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "BASEROW_PUBLIC_URL",
      "service": "Baserow",
      "description": "Public URL of Baserow. Change it when you add a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BASEROW_ADMIN_EMAIL",
      "service": "Baserow",
      "description": "Email of the admin account, created on the first boot. You sign in with it.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BASEROW_RUN_MINIMAL",
      "service": "Baserow",
      "description": "Runs one combined Celery worker instead of three to save memory. Set to empty for busy teams.",
      "secret": false,
      "strategy": "default",
      "default": "yes"
    },
    {
      "key": "BASEROW_ADMIN_PASSWORD",
      "service": "Baserow",
      "description": "Admin password, generated at deploy time and used on the first boot only. Change it in Baserow afterwards (My settings, Password).",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "BASEROW_CADDY_ADDRESSES",
      "service": "Baserow",
      "description": "Address the bundled Caddy listens on - leave as is.",
      "secret": false,
      "strategy": "default",
      "default": ":80"
    },
    {
      "key": "BASEROW_JWT_SIGNING_KEY",
      "service": "Baserow",
      "description": "Signs login tokens. Changing it signs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BASEROW_EXTRA_PUBLIC_URLS",
      "service": "Baserow",
      "description": "Lets Railway's healthcheck reach the Baserow API instead of the published-sites router - leave as is (add more URLs comma-separated).",
      "secret": false,
      "strategy": "default",
      "default": "http://healthcheck.railway.app"
    },
    {
      "key": "BASEROW_AMOUNT_OF_GUNICORN_WORKERS",
      "service": "Baserow",
      "description": "Backend web workers. Raise it for many concurrent users.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "baserow"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "baserow"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Auto-generated database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Time for Postgres to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "baserow-database"
      }
    },
    "cli": "railway deploy --template baserow-database",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3d793c96-a310-42ca-9e66-d8085a46f4f8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0464ed6f-56cf-4d32-8443-7a852604479b": {
                  "icon": "https://devicons.railway.com/i/redis.svg",
                  "name": "Redis",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.3-alpine"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated Redis password",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                },
                "4e69a0f0-ef94-4f0d-8a4a-97870edeaed0": {
                  "icon": "https://raw.githubusercontent.com/two-workspaces/baserow/main/icon.svg",
                  "name": "Baserow",
                  "build": {
                    "dockerfilePath": "Dockerfile"
                  },
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/_health/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/two-workspaces/baserow",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port - leave as is.",
                      "defaultValue": "80"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection for Celery, cache and real-time updates (private network)",
                      "defaultValue": "redis://default:${{Redis.REDIS_PASSWORD}}@${{Redis.RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Django secret key. Changing it signs everyone out.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection (private network)",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "BASEROW_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public URL of Baserow. Change it when you add a custom domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "BASEROW_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the admin account, created on the first boot. You sign in with it.",
                      "defaultValue": "{{BASEROW_ADMIN_EMAIL}}"
                    },
                    "BASEROW_RUN_MINIMAL": {
                      "isOptional": false,
                      "description": "Runs one combined Celery worker instead of three to save memory. Set to empty for busy teams.",
                      "defaultValue": "yes"
                    },
                    "BASEROW_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, generated at deploy time and used on the first boot only. Change it in Baserow afterwards (My settings, Password).",
                      "defaultValue": "{{BASEROW_ADMIN_PASSWORD}}"
                    },
                    "BASEROW_CADDY_ADDRESSES": {
                      "isOptional": false,
                      "description": "Address the bundled Caddy listens on - leave as is.",
                      "defaultValue": ":80"
                    },
                    "BASEROW_JWT_SIGNING_KEY": {
                      "isOptional": false,
                      "description": "Signs login tokens. Changing it signs everyone out.",
                      "defaultValue": "{{BASEROW_JWT_SIGNING_KEY}}"
                    },
                    "BASEROW_EXTRA_PUBLIC_URLS": {
                      "isOptional": false,
                      "description": "Lets Railway's healthcheck reach the Baserow API instead of the published-sites router - leave as is (add more URLs comma-separated).",
                      "defaultValue": "http://healthcheck.railway.app"
                    },
                    "BASEROW_AMOUNT_OF_GUNICORN_WORKERS": {
                      "isOptional": false,
                      "description": "Backend web workers. Raise it for many concurrent users.",
                      "defaultValue": "2"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "9a55fd8b-089c-4a9d-8ba0-e100b2ec9a31": {
                      "mountPath": "/baserow/data"
                    }
                  }
                },
                "e41af65a-9f62-4bc8-b854-ccf4da36b589": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17.11-alpine"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "baserow"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "baserow"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Postgres to shut down cleanly on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "97fd0686-23e8-45e5-b9e9-f844f1e3e400": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Baserow",
      "method": "GET",
      "path": "/api/_health/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-27T04:14:46.034Z",
  "generator_version": "0.1.0"
}
