{
  "manifest_version": "1.0.0",
  "template": {
    "id": "08a52ece-5a84-4818-8e0d-29a8d5956fd9",
    "slug": "librebooking-resource-scheduler",
    "name": "LibreBooking Resource Scheduler",
    "description": "Private room and equipment reservations with MariaDB and durable uploads.",
    "url": "https://railway.com/deploy/librebooking-resource-scheduler",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "librebooking",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "mariadb",
      "source": {
        "image": "mariadb:10.11@sha256:7f22313fc130a377a44999965bcb0a08dd5b21e8502824c1b864f792f9bc66ab"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "core",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "librebooking",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "OWNER_AUTH",
      "service": "librebooking",
      "description": "Owner auth for librebooking. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OWNER_SCOPE",
      "service": "librebooking",
      "description": "Owner scope for librebooking. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "all"
    },
    {
      "key": "UPSTREAM_HOST",
      "service": "librebooking",
      "description": "Upstream host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "UPSTREAM_PORT",
      "service": "librebooking",
      "description": "Upstream port for librebooking. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ACCESS_PASSWORD",
      "service": "librebooking",
      "description": "Generated access password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "librebooking",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "shared/round10-gateway/Dockerfile"
    },
    {
      "key": "MARIADB_USER",
      "service": "mariadb",
      "description": "Mariadb user for mariadb. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "librebooking"
    },
    {
      "key": "MARIADB_DATABASE",
      "service": "mariadb",
      "description": "Mariadb database for mariadb. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "librebooking"
    },
    {
      "key": "MARIADB_PASSWORD",
      "service": "mariadb",
      "description": "Generated mariadb password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MARIADB_ROOT_PASSWORD",
      "service": "mariadb",
      "description": "Generated mariadb root password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "LB_APP_DEBUG",
      "service": "core",
      "description": "Lb app debug for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LB_SCRIPT_URL",
      "service": "core",
      "description": "Lb script url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LB_ADMIN_EMAIL",
      "service": "core",
      "description": "Required administrator email. Register the first application account with exactly this address after completing the protected installer.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LB_LOGGING_SQL",
      "service": "core",
      "description": "Lb logging sql for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LB_DATABASE_NAME",
      "service": "core",
      "description": "Lb database name for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "librebooking"
    },
    {
      "key": "LB_DATABASE_USER",
      "service": "core",
      "description": "Lb database user for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "librebooking"
    },
    {
      "key": "LB_EMAIL_ENABLED",
      "service": "core",
      "description": "Lb email enabled for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LB_LOGGING_LEVEL",
      "service": "core",
      "description": "Lb logging level for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "error"
    },
    {
      "key": "LB_DEFAULT_TIMEZONE",
      "service": "core",
      "description": "Lb default timezone for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "LB_INSTALL_PASSWORD",
      "service": "core",
      "description": "Generated installer password. Use the existing restricted database user; leave Create database and Create user unchecked. Clear this variable after setup.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "LB_DATABASE_HOSTSPEC",
      "service": "core",
      "description": "Lb database hostspec resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LB_DATABASE_PASSWORD",
      "service": "core",
      "description": "Lb database password resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LB_ICS_SUBSCRIPTION_KEY",
      "service": "core",
      "description": "Generated lb ics subscription key. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "core",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/round10/librebooking/Dockerfile"
    },
    {
      "key": "LB_PASSWORD_DISABLE_RESET",
      "service": "core",
      "description": "Lb password disable reset for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": true,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LB_PRIVACY_VIEW_SCHEDULES",
      "service": "core",
      "description": "Lb privacy view schedules for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LB_RESERVATION_REMINDERS_ENABLED",
      "service": "core",
      "description": "Lb reservation reminders enabled for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LB_PRIVACY_ALLOW_GUEST_RESERVATIONS",
      "service": "core",
      "description": "Lb privacy allow guest reservations for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LB_UPLOADS_RESERVATION_ATTACHMENT_PATH",
      "service": "core",
      "description": "Lb uploads reservation attachment path for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "/data/reservations"
    },
    {
      "key": "LB_REGISTRATION_ALLOW_SELF_REGISTRATION",
      "service": "core",
      "description": "Enabled for the first administrator registration behind the owner gateway. Set false after creating that account; administrators can add users.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LB_UPLOADS_RESERVATION_ATTACHMENTS_ENABLED",
      "service": "core",
      "description": "Lb uploads reservation attachments enabled for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "librebooking-resource-scheduler"
      }
    },
    "cli": "railway deploy --template librebooking-resource-scheduler",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "08a52ece-5a84-4818-8e0d-29a8d5956fd9",
            "serializedConfig": {
              "services": {
                "37d29588-ef59-579e-b83b-d06f80dfa8e8": {
                  "name": "librebooking",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "shared/round10-gateway/Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/unique-template-drafts"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
                      "defaultValue": "8080"
                    },
                    "OWNER_AUTH": {
                      "isOptional": false,
                      "description": "Owner auth for librebooking. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "true"
                    },
                    "OWNER_SCOPE": {
                      "isOptional": false,
                      "description": "Owner scope for librebooking. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "all"
                    },
                    "UPSTREAM_HOST": {
                      "isOptional": false,
                      "description": "Upstream host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{core.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "UPSTREAM_PORT": {
                      "isOptional": false,
                      "description": "Upstream port for librebooking. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "8080"
                    },
                    "ACCESS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated access password. Keep private and preserve with backups.",
                      "defaultValue": "{{ACCESS_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "shared/round10-gateway/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "58a8ee9e-0773-565c-8ad1-95d3e1a249f0": {
                  "name": "mariadb",
                  "deploy": {
                    "requiredMountPath": "/var/lib/mysql",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mariadb:10.11@sha256:7f22313fc130a377a44999965bcb0a08dd5b21e8502824c1b864f792f9bc66ab"
                  },
                  "variables": {
                    "MARIADB_USER": {
                      "isOptional": false,
                      "description": "Mariadb user for mariadb. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "librebooking"
                    },
                    "MARIADB_DATABASE": {
                      "isOptional": false,
                      "description": "Mariadb database for mariadb. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "librebooking"
                    },
                    "MARIADB_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated mariadb password. Keep private and preserve with backups.",
                      "defaultValue": "{{MARIADB_PASSWORD}}"
                    },
                    "MARIADB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated mariadb root password. Keep private and preserve with backups.",
                      "defaultValue": "{{MARIADB_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "0ed1fdcd-07f3-5630-9ec9-95794a648445": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "857be9b2-e0c4-5837-b22a-71b8d4941f20": {
                  "name": "core",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/round10/librebooking/Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/unique-template-drafts"
                  },
                  "variables": {
                    "LB_APP_DEBUG": {
                      "isOptional": false,
                      "description": "Lb app debug for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "LB_SCRIPT_URL": {
                      "isOptional": false,
                      "description": "Lb script url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "https://${{librebooking.RAILWAY_PUBLIC_DOMAIN}}/Web"
                    },
                    "LB_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Required administrator email. Register the first application account with exactly this address after completing the protected installer.",
                      "defaultValue": "{{LB_ADMIN_EMAIL}}"
                    },
                    "LB_LOGGING_SQL": {
                      "isOptional": false,
                      "description": "Lb logging sql for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "LB_DATABASE_NAME": {
                      "isOptional": false,
                      "description": "Lb database name for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "librebooking"
                    },
                    "LB_DATABASE_USER": {
                      "isOptional": false,
                      "description": "Lb database user for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "librebooking"
                    },
                    "LB_EMAIL_ENABLED": {
                      "isOptional": false,
                      "description": "Lb email enabled for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "LB_LOGGING_LEVEL": {
                      "isOptional": false,
                      "description": "Lb logging level for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "error"
                    },
                    "LB_DEFAULT_TIMEZONE": {
                      "isOptional": false,
                      "description": "Lb default timezone for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "UTC"
                    },
                    "LB_INSTALL_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated installer password. Use the existing restricted database user; leave Create database and Create user unchecked. Clear this variable after setup.",
                      "defaultValue": "{{LB_INSTALL_PASSWORD}}"
                    },
                    "LB_DATABASE_HOSTSPEC": {
                      "isOptional": false,
                      "description": "Lb database hostspec resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{mariadb.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "LB_DATABASE_PASSWORD": {
                      "isOptional": false,
                      "description": "Lb database password resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{mariadb.MARIADB_PASSWORD}}"
                    },
                    "LB_ICS_SUBSCRIPTION_KEY": {
                      "isOptional": false,
                      "description": "Generated lb ics subscription key. Keep private and preserve with backups.",
                      "defaultValue": "{{LB_ICS_SUBSCRIPTION_KEY}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/round10/librebooking/Dockerfile"
                    },
                    "LB_PASSWORD_DISABLE_RESET": {
                      "isOptional": false,
                      "description": "Lb password disable reset for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "true"
                    },
                    "LB_PRIVACY_VIEW_SCHEDULES": {
                      "isOptional": false,
                      "description": "Lb privacy view schedules for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "LB_RESERVATION_REMINDERS_ENABLED": {
                      "isOptional": false,
                      "description": "Lb reservation reminders enabled for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "LB_PRIVACY_ALLOW_GUEST_RESERVATIONS": {
                      "isOptional": false,
                      "description": "Lb privacy allow guest reservations for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "LB_UPLOADS_RESERVATION_ATTACHMENT_PATH": {
                      "isOptional": false,
                      "description": "Lb uploads reservation attachment path for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "/data/reservations"
                    },
                    "LB_REGISTRATION_ALLOW_SELF_REGISTRATION": {
                      "isOptional": false,
                      "description": "Enabled for the first administrator registration behind the owner gateway. Set false after creating that account; administrators can add users.",
                      "defaultValue": "true"
                    },
                    "LB_UPLOADS_RESERVATION_ATTACHMENTS_ENABLED": {
                      "isOptional": false,
                      "description": "Lb uploads reservation attachments enabled for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "00be78aa-d23d-52b6-8939-07ba72082160": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "librebooking",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T10:14:38.021Z",
  "generator_version": "0.1.0"
}
