{
  "manifest_version": "1.0.0",
  "template": {
    "id": "80256bc9-4f59-4295-add0-7cd728c5e016",
    "slug": "21E4xW",
    "name": "Fider",
    "description": "Open platform to collect and prioritize feedback",
    "url": "https://railway.com/deploy/21E4xW",
    "upstream": {
      "image": "getfider/fider:main"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "postgres:12"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Fider",
      "source": {
        "image": "getfider/fider:main"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location on disk for database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Public URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database username",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "PGHOST_PRIVATE",
      "service": "Postgres",
      "description": "Private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT_PRIVATE",
      "service": "Postgres",
      "description": "Private Port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PRIVATE_URL",
      "service": "Postgres",
      "description": "Private URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BASE_URL",
      "service": "Fider",
      "description": "Public Host Name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "JWT_SECRET",
      "service": "Fider",
      "description": "A secret key used to encrypt JWT tokens.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "Fider",
      "description": "Private database URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "EMAIL_NOREPLY",
      "service": "Fider",
      "description": "Set this variable to a no-reply address associated to your instance.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "EMAIL_SMTP_HOST",
      "service": "Fider",
      "description": "SMTP host",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "EMAIL_SMTP_PORT",
      "service": "Fider",
      "description": "SMTP port",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "EMAIL_SMTP_PASSWORD",
      "service": "Fider",
      "description": "SMTP password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "EMAIL_SMTP_USERNAME",
      "service": "Fider",
      "description": "SMTP username",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "EMAIL_SMTP_ENABLE_STARTTLS",
      "service": "Fider",
      "description": "Enable SMTP tls",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "21E4xW"
      }
    },
    "cli": "railway deploy --template 21E4xW",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "80256bc9-4f59-4295-add0-7cd728c5e016",
            "serializedConfig": {
              "services": {
                "2b1cdd7c-a762-4c1e-983b-3e578082d9ed": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "postgres:12"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location on disk for database",
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Public URL",
                      "defaultValue": "postgresql://${{POSTGRES_USER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{POSTGRES_DB}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database username",
                      "defaultValue": "postgres"
                    },
                    "PGHOST_PRIVATE": {
                      "isOptional": false,
                      "description": "Private host",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT_PRIVATE": {
                      "isOptional": false,
                      "description": "Private Port",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Private URL",
                      "defaultValue": "postgresql://${{POSTGRES_USER}}:${{POSTGRES_PASSWORD}}@${{PGHOST_PRIVATE}}:${{PGPORT_PRIVATE}}/${{POSTGRES_DB}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "2b1cdd7c-a762-4c1e-983b-3e578082d9ed": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "e713e84b-4036-438b-8a26-cfb0723795a6": {
                  "icon": "https://devicons.railway.app/Fider?variant=light",
                  "name": "Fider",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"echo 'Waiting for database...'; sleep 5; ./fider migrate && ./fider\"",
                    "healthcheckPath": "/_health"
                  },
                  "source": {
                    "image": "getfider/fider:main"
                  },
                  "variables": {
                    "BASE_URL": {
                      "isOptional": false,
                      "description": "Public Host Name",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "A secret key used to encrypt JWT tokens.",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private database URL",
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}?sslmode=disable"
                    },
                    "EMAIL_NOREPLY": {
                      "isOptional": false,
                      "description": "Set this variable to a no-reply address associated to your instance.",
                      "defaultValue": "${{EMAIL_SMTP_USERNAME}}"
                    },
                    "EMAIL_SMTP_HOST": {
                      "isOptional": false,
                      "description": "SMTP host",
                      "defaultValue": "{{EMAIL_SMTP_HOST}}"
                    },
                    "EMAIL_SMTP_PORT": {
                      "isOptional": false,
                      "description": "SMTP port",
                      "defaultValue": "{{EMAIL_SMTP_PORT}}"
                    },
                    "EMAIL_SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP password",
                      "defaultValue": "{{EMAIL_SMTP_PASSWORD}}"
                    },
                    "EMAIL_SMTP_USERNAME": {
                      "isOptional": false,
                      "description": "SMTP username",
                      "defaultValue": "{{EMAIL_SMTP_USERNAME}}"
                    },
                    "EMAIL_SMTP_ENABLE_STARTTLS": {
                      "isOptional": false,
                      "description": "Enable SMTP tls",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Fider",
      "method": "GET",
      "path": "/_health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T10:14:47.278Z",
  "generator_version": "0.1.0"
}
