{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e73cf821-e33a-463b-97c6-a86be9a84cee",
    "slug": "miniflux-lite",
    "name": "Miniflux Lite",
    "description": "Self-hosted RSS reader with Postgres",
    "url": "https://railway.com/deploy/miniflux-lite",
    "upstream": {
      "image": "miniflux/miniflux:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "miniflux",
      "source": {
        "image": "miniflux/miniflux:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "BASE_URL",
      "service": "miniflux",
      "description": "Public URL of your Miniflux instance. Used for feed discovery and redirects.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BATCH_SIZE",
      "service": "miniflux",
      "description": "Number of feeds to fetch in one batch. Default: 100.",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "CREATE_ADMIN",
      "service": "miniflux",
      "description": "Create admin user on first run. Set to 1 for first deploy.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "DATABASE_URL",
      "service": "miniflux",
      "description": "PostgreSQL connection string — auto-wired from the Postgres companion service. Do not edit.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "miniflux",
      "description": "Admin password — MUST be at least 12 characters. Change immediately after first login.",
      "secret": true,
      "strategy": "default",
      "default": "change-me-12-chars"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "miniflux",
      "description": "Admin username for the Miniflux web UI.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "RUN_MIGRATIONS",
      "service": "miniflux",
      "description": "Run database migrations on startup. Set to 1 for first deploy.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "POLLING_FREQUENCY",
      "service": "miniflux",
      "description": "How often (in minutes) Miniflux fetches feeds. Default: 60 minutes.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory. Must be a SUBDIRECTORY of the volume mount (lost+found at mount root breaks initdb). Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "PostgreSQL database name.",
      "secret": false,
      "strategy": "default",
      "default": "miniflux"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "PostgreSQL user name.",
      "secret": false,
      "strategy": "default",
      "default": "miniflux"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "PostgreSQL password — auto-generated on deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "miniflux-lite"
      }
    },
    "cli": "railway deploy --template miniflux-lite",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e73cf821-e33a-463b-97c6-a86be9a84cee",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "155c3e9a-2724-4881-b94b-9a8210869b60": {
                  "icon": null,
                  "name": "miniflux",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "miniflux/miniflux:latest"
                  },
                  "variables": {
                    "BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL of your Miniflux instance. Used for feed discovery and redirects.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "BATCH_SIZE": {
                      "isOptional": false,
                      "description": "Number of feeds to fetch in one batch. Default: 100.",
                      "defaultValue": "100"
                    },
                    "CREATE_ADMIN": {
                      "isOptional": false,
                      "description": "Create admin user on first run. Set to 1 for first deploy.",
                      "defaultValue": "1"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "PostgreSQL connection string — auto-wired from the Postgres companion service. Do not edit.",
                      "defaultValue": "postgres://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?sslmode=disable"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password — MUST be at least 12 characters. Change immediately after first login.",
                      "defaultValue": "change-me-12-chars"
                    },
                    "ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Admin username for the Miniflux web UI.",
                      "defaultValue": "admin"
                    },
                    "RUN_MIGRATIONS": {
                      "isOptional": false,
                      "description": "Run database migrations on startup. Set to 1 for first deploy.",
                      "defaultValue": "1"
                    },
                    "POLLING_FREQUENCY": {
                      "isOptional": false,
                      "description": "How often (in minutes) Miniflux fetches feeds. Default: 60 minutes.",
                      "defaultValue": "60"
                    },
                    "MINIFLUX_WEBHOOK_URL": {
                      "isOptional": true,
                      "description": "Optional: webhook URL for new entries (e.g., Marketing Bot Lite endpoint). Leave empty to disable.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "979e7015-3d2d-4f42-97f0-9a85d6f272c9": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "description": "Data directory. Must be a SUBDIRECTORY of the volume mount (lost+found at mount root breaks initdb). Do not change.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "PostgreSQL database name.",
                      "defaultValue": "miniflux"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL user name.",
                      "defaultValue": "miniflux"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password — auto-generated on deploy.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "979e7015-3d2d-4f42-97f0-9a85d6f272c9": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-24T10:14:44.596Z",
  "generator_version": "0.1.0"
}
