{
  "manifest_version": "1.0.0",
  "template": {
    "id": "98d22217-fbf8-4622-84b7-a37d953fccda",
    "slug": "floci",
    "name": "Floci — AWS Emulator",
    "description": "A fast, free AWS emulator for development, testing, and CI.",
    "url": "https://railway.com/deploy/floci",
    "upstream": {
      "image": "floci/floci:latest"
    }
  },
  "services": [
    {
      "name": "floci",
      "source": {
        "image": "floci/floci:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "floci",
      "description": "Railway HTTP target port",
      "secret": false,
      "strategy": "default",
      "default": "4566"
    },
    {
      "key": "FLOCI_PORT",
      "service": "floci",
      "description": "Floci unified AWS API port",
      "secret": false,
      "strategy": "default",
      "default": "4566"
    },
    {
      "key": "FLOCI_BASE_URL",
      "service": "floci",
      "description": "Public endpoint returned in service URLs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "floci",
      "description": "Ensures Floci can write to the mounted Railway volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "FLOCI_STORAGE_MODE",
      "service": "floci",
      "description": "Persist state immediately after each mutation",
      "secret": false,
      "strategy": "default",
      "default": "persistent"
    },
    {
      "key": "FLOCI_DEFAULT_REGION",
      "service": "floci",
      "description": "Default emulated AWS region",
      "secret": false,
      "strategy": "default",
      "default": "us-east-1"
    },
    {
      "key": "FLOCI_DEFAULT_ACCOUNT_ID",
      "service": "floci",
      "description": "Default emulated AWS account ID",
      "secret": false,
      "strategy": "default",
      "default": "000000000000"
    },
    {
      "key": "FLOCI_STORAGE_PERSISTENT_PATH",
      "service": "floci",
      "description": "Persistent Railway volume directory",
      "secret": false,
      "strategy": "default",
      "default": "/app/data"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "floci"
      }
    },
    "cli": "railway deploy --template floci",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "98d22217-fbf8-4622-84b7-a37d953fccda",
            "serializedConfig": {
              "services": {
                "fb4af411-cc6c-47f8-b09e-74f733ba2614": {
                  "icon": "https://res.cloudinary.com/drxplgxxg/image/upload/v1788763915/floci.png",
                  "name": "floci",
                  "source": {
                    "image": "floci/floci:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Railway HTTP target port",
                      "defaultValue": "4566"
                    },
                    "FLOCI_PORT": {
                      "description": "Floci unified AWS API port",
                      "defaultValue": "4566"
                    },
                    "FLOCI_BASE_URL": {
                      "description": "Public endpoint returned in service URLs",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Ensures Floci can write to the mounted Railway volume",
                      "defaultValue": "0"
                    },
                    "FLOCI_STORAGE_MODE": {
                      "description": "Persist state immediately after each mutation",
                      "defaultValue": "persistent"
                    },
                    "FLOCI_DEFAULT_REGION": {
                      "description": "Default emulated AWS region",
                      "defaultValue": "us-east-1"
                    },
                    "FLOCI_DEFAULT_ACCOUNT_ID": {
                      "description": "Default emulated AWS account ID",
                      "defaultValue": "000000000000"
                    },
                    "FLOCI_STORAGE_PERSISTENT_PATH": {
                      "description": "Persistent Railway volume directory",
                      "defaultValue": "/app/data"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4566": {
                        "port": 4566
                      }
                    }
                  },
                  "volumeMounts": {
                    "fb4af411-cc6c-47f8-b09e-74f733ba2614": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T03:57:30.205Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b209a1ec576f4148a8ad",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 60,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "floci"
  }
}
