{
 "actions": [],
 "allow_rename": 1,
 "creation": "2023-03-07 11:56:33.641999",
 "default_view": "List",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "title",
  "new_server",
  "different_database_server",
  "server_url",
  "hostname",
  "domain",
  "column_break_3eap",
  "status",
  "cluster",
  "team",
  "release_group",
  "server_section",
  "server_created",
  "server",
  "ip",
  "ssh_user",
  "column_break_smwr",
  "existing_bench_present",
  "plan",
  "private_ip",
  "ssh_port",
  "section_break_0fky",
  "dedicated_proxy",
  "proxy_public_ip",
  "proxy_created",
  "proxy_server",
  "column_break_bcsw",
  "proxy_private_ip",
  "agent_password",
  "database_section",
  "is_managed_database",
  "database_setup",
  "mariadb_ip",
  "mariadb_root_user",
  "database_server",
  "database_service",
  "column_break_qvmo",
  "mariadb_private_ip",
  "mariadb_root_password",
  "database_plan",
  "existing_bench_tab",
  "bench_directory",
  "column_break_yb8y",
  "jingrow_version",
  "section_break_33uh",
  "apps",
  "sites",
  "system_information_tab",
  "application_server_section",
  "vendor",
  "vcpus",
  "ram",
  "total_storage",
  "swap_total",
  "column_break_ep4j",
  "instance_type",
  "architecture",
  "processor",
  "distribution",
  "database_server_section",
  "db_vcpus",
  "db_total_storage",
  "column_break_krqz",
  "db_ram"
 ],
 "fields": [
  {
   "depends_on": "eval:pg.server_created",
   "fieldname": "server",
   "fieldtype": "Link",
   "label": "Server",
   "options": "Server",
   "search_index": 1
  },
  {
   "fieldname": "bench_directory",
   "fieldtype": "Data",
   "label": "Bench Directory",
   "mandatory_depends_on": "eval:pg.existing_bench_present"
  },
  {
   "fetch_from": ".ip",
   "fieldname": "ip",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "IP",
   "reqd": 1
  },
  {
   "default": "root",
   "fetch_from": ".ssh_user",
   "fieldname": "ssh_user",
   "fieldtype": "Data",
   "label": "SSH User"
  },
  {
   "fieldname": "column_break_3eap",
   "fieldtype": "Column Break"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "eval:pg.different_database_server",
   "fieldname": "database_section",
   "fieldtype": "Section Break",
   "label": "Database"
  },
  {
   "depends_on": "eval:!pg.is_managed_database",
   "fieldname": "mariadb_root_user",
   "fieldtype": "Data",
   "label": "MariaDB Root User"
  },
  {
   "depends_on": "eval:pg.different_database_server && !pg.is_managed_database",
   "fieldname": "mariadb_ip",
   "fieldtype": "Data",
   "label": "MariaDB Public IP"
  },
  {
   "fieldname": "column_break_qvmo",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "eval:!pg.is_managed_database",
   "description": "This will be the MariaDB Root password if you're setting up a new server. If you're server already has a MariaDB root password, please put in the same password",
   "fieldname": "mariadb_root_password",
   "fieldtype": "Password",
   "label": "MariaDB Root Password",
   "mandatory_depends_on": "eval:pg.existing_bench_present",
   "reqd": 1
  },
  {
   "fetch_from": ".private_ip",
   "fieldname": "private_ip",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Private IP"
  },
  {
   "fetch_from": "server.team",
   "fetch_if_empty": 1,
   "fieldname": "team",
   "fieldtype": "Link",
   "label": "Team",
   "options": "Team",
   "reqd": 1
  },
  {
   "fetch_from": "release_group.version",
   "fieldname": "jingrow_version",
   "fieldtype": "Data",
   "label": "Jingrow Version",
   "read_only": 1
  },
  {
   "fieldname": "apps",
   "fieldtype": "Table",
   "label": "Apps",
   "options": "Site Analytics App"
  },
  {
   "fieldname": "section_break_33uh",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "sites",
   "fieldtype": "Table",
   "label": "Sites and Apps",
   "options": "Self Hosted Site Apps"
  },
  {
   "depends_on": "eval: pg.existing_bench_present",
   "fieldname": "existing_bench_tab",
   "fieldtype": "Tab Break",
   "label": "Existing Bench"
  },
  {
   "fieldname": "title",
   "fieldtype": "Data",
   "label": "Title"
  },
  {
   "default": "0",
   "fieldname": "existing_bench_present",
   "fieldtype": "Check",
   "label": "Existing Bench Present"
  },
  {
   "fieldname": "server_section",
   "fieldtype": "Section Break",
   "label": "Server"
  },
  {
   "fieldname": "column_break_yb8y",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "hostname",
   "fieldtype": "Data",
   "label": "Hostname",
   "read_only": 1
  },
  {
   "fieldname": "domain",
   "fieldtype": "Data",
   "label": "Domain",
   "read_only": 1
  },
  {
   "fieldname": "column_break_smwr",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "server_created",
   "fieldtype": "Check",
   "label": "Server Created"
  },
  {
   "default": "0",
   "fieldname": "database_setup",
   "fieldtype": "Check",
   "label": "Database Setup"
  },
  {
   "depends_on": "eval:pg.database_setup && !pg.is_managed_database",
   "fieldname": "database_server",
   "fieldtype": "Link",
   "label": "Database Server",
   "options": "Database Server",
   "search_index": 1
  },
  {
   "fieldname": "release_group",
   "fieldtype": "Link",
   "in_standard_filter": 1,
   "label": "Release Group",
   "options": "Release Group"
  },
  {
   "default": "Unreachable",
   "fieldname": "status",
   "fieldtype": "Select",
   "hidden": 1,
   "in_list_view": 1,
   "label": "Status",
   "options": "Active\nPending\nBroken\nArchived\nUnreachable",
   "read_only": 1
  },
  {
   "default": "22",
   "fieldname": "ssh_port",
   "fieldtype": "Int",
   "label": "SSH Port"
  },
  {
   "default": "0",
   "fieldname": "new_server",
   "fieldtype": "Check",
   "label": "New Server"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "eval:pg.dedicated_proxy",
   "fieldname": "section_break_0fky",
   "fieldtype": "Section Break",
   "label": "Proxy"
  },
  {
   "fieldname": "proxy_server",
   "fieldtype": "Link",
   "label": "Proxy Server",
   "mandatory_depends_on": "eval:pg.proxy_created",
   "options": "Proxy Server",
   "search_index": 1
  },
  {
   "fieldname": "column_break_bcsw",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "proxy_created",
   "fieldtype": "Check",
   "label": "Proxy Created"
  },
  {
   "fieldname": "agent_password",
   "fieldtype": "Password",
   "hidden": 1,
   "label": "Agent Password"
  },
  {
   "fetch_from": "proxy_server.cluster",
   "fetch_if_empty": 1,
   "fieldname": "cluster",
   "fieldtype": "Link",
   "label": "Cluster",
   "options": "Cluster"
  },
  {
   "fieldname": "server_url",
   "fieldtype": "Data",
   "label": "Server URL"
  },
  {
   "fieldname": "plan",
   "fieldtype": "Link",
   "label": "Plan",
   "options": "Server Plan"
  },
  {
   "default": "0",
   "fieldname": "different_database_server",
   "fieldtype": "Check",
   "label": "Different Database Server"
  },
  {
   "fieldname": "ram",
   "fieldtype": "Data",
   "label": "RAM"
  },
  {
   "fieldname": "system_information_tab",
   "fieldtype": "Tab Break",
   "label": "System Information"
  },
  {
   "fieldname": "vcpus",
   "fieldtype": "Data",
   "label": "vCPUs"
  },
  {
   "fieldname": "total_storage",
   "fieldtype": "Data",
   "label": "Total Storage"
  },
  {
   "fieldname": "swap_total",
   "fieldtype": "Data",
   "label": "Swap Total"
  },
  {
   "fieldname": "column_break_ep4j",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "instance_type",
   "fieldtype": "Data",
   "label": "Instance Type"
  },
  {
   "fieldname": "architecture",
   "fieldtype": "Data",
   "label": "Architecture"
  },
  {
   "fieldname": "processor",
   "fieldtype": "Data",
   "label": "Processor"
  },
  {
   "fieldname": "distribution",
   "fieldtype": "Data",
   "label": "Distribution"
  },
  {
   "fieldname": "vendor",
   "fieldtype": "Data",
   "label": "Vendor"
  },
  {
   "fieldname": "proxy_public_ip",
   "fieldtype": "Data",
   "label": "Proxy Public IP"
  },
  {
   "fieldname": "proxy_private_ip",
   "fieldtype": "Data",
   "label": "Proxy Private IP"
  },
  {
   "depends_on": "eval:pg.different_database_server && !pg.is_managed_database",
   "fieldname": "mariadb_private_ip",
   "fieldtype": "Data",
   "label": "MariaDB Private IP"
  },
  {
   "fieldname": "database_plan",
   "fieldtype": "Link",
   "label": "Database Plan",
   "options": "Server Plan"
  },
  {
   "default": "0",
   "fieldname": "dedicated_proxy",
   "fieldtype": "Check",
   "label": "Dedicated Proxy"
  },
  {
   "fieldname": "application_server_section",
   "fieldtype": "Section Break",
   "label": "Application Server"
  },
  {
   "fieldname": "database_server_section",
   "fieldtype": "Section Break",
   "label": "Database Server"
  },
  {
   "fieldname": "db_vcpus",
   "fieldtype": "Data",
   "label": "vCPUs"
  },
  {
   "fieldname": "db_total_storage",
   "fieldtype": "Data",
   "label": "Total Storage"
  },
  {
   "fieldname": "column_break_krqz",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "db_ram",
   "fieldtype": "Data",
   "label": "RAM"
  },
  {
   "default": "0",
   "fieldname": "is_managed_database",
   "fieldtype": "Check",
   "label": "Is Managed Database"
  },
  {
   "default": "AWS - RDS",
   "depends_on": "eval:pg.is_managed_database",
   "fieldname": "database_service",
   "fieldtype": "Select",
   "label": "Database Service",
   "options": "AWS - RDS"
  }
 ],
 "links": [],
 "modified": "2024-05-29 11:41:41.304954",
 "modified_by": "Administrator",
 "module": "Press",
 "name": "Self Hosted Server",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Press Admin",
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Press Member",
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "track_changes": 1
}