[{"data":1,"prerenderedAt":570},["ShallowReactive",2],{"navigation_docs":3,"-docs-deploy-templates":140,"-docs-deploy-templates-surround":565},[4,25,80,100,125],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting started",false,"\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","i-lucide-terminal",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart","docs\u002F1.getting-started\u002F3.quickstart","i-lucide-rocket",{"title":26,"icon":6,"path":27,"stem":28,"children":29,"page":6},"Deploy","\u002Fdocs\u002Fdeploy","docs\u002F2.deploy",[30,35,40,45,50,55,60,65,70,75],{"title":31,"path":32,"stem":33,"icon":34},"Projects and services","\u002Fdocs\u002Fdeploy\u002Fprojects-and-services","docs\u002F2.deploy\u002F01.projects-and-services","i-lucide-folder-kanban",{"title":36,"path":37,"stem":38,"icon":39},"Docker images","\u002Fdocs\u002Fdeploy\u002Fdocker-images","docs\u002F2.deploy\u002F02.docker-images","i-lucide-container",{"title":41,"path":42,"stem":43,"icon":44},"Git repositories","\u002Fdocs\u002Fdeploy\u002Fgit-repositories","docs\u002F2.deploy\u002F03.git-repositories","i-lucide-git-branch",{"title":46,"path":47,"stem":48,"icon":49},"Databases","\u002Fdocs\u002Fdeploy\u002Fdatabases","docs\u002F2.deploy\u002F04.databases","i-lucide-database",{"title":51,"path":52,"stem":53,"icon":54},"Templates","\u002Fdocs\u002Fdeploy\u002Ftemplates","docs\u002F2.deploy\u002F05.templates","i-lucide-layout-template",{"title":56,"path":57,"stem":58,"icon":59},"Environment variables","\u002Fdocs\u002Fdeploy\u002Fenvironment-variables","docs\u002F2.deploy\u002F06.environment-variables","i-lucide-key-round",{"title":61,"path":62,"stem":63,"icon":64},"Volumes","\u002Fdocs\u002Fdeploy\u002Fvolumes","docs\u002F2.deploy\u002F07.volumes","i-lucide-hard-drive",{"title":66,"path":67,"stem":68,"icon":69},"Deployments and logs","\u002Fdocs\u002Fdeploy\u002Fdeployments","docs\u002F2.deploy\u002F08.deployments","i-lucide-scroll-text",{"title":71,"path":72,"stem":73,"icon":74},"Deploy hooks","\u002Fdocs\u002Fdeploy\u002Fdeploy-hooks","docs\u002F2.deploy\u002F09.deploy-hooks","i-lucide-webhook",{"title":76,"path":77,"stem":78,"icon":79},"Domains and HTTPS","\u002Fdocs\u002Fdeploy\u002Fdomains","docs\u002F2.deploy\u002F10.domains","i-lucide-lock",{"title":81,"icon":6,"path":82,"stem":83,"children":84,"page":6},"Backups","\u002Fdocs\u002Fbackups","docs\u002F3.backups",[85,90,95],{"title":86,"path":87,"stem":88,"icon":89},"Backup destinations","\u002Fdocs\u002Fbackups\u002Fbackup-destinations","docs\u002F3.backups\u002F1.backup-destinations","i-lucide-hard-drive-upload",{"title":91,"path":92,"stem":93,"icon":94},"Database backups","\u002Fdocs\u002Fbackups\u002Fdatabase-backups","docs\u002F3.backups\u002F2.database-backups","i-lucide-archive-restore",{"title":96,"path":97,"stem":98,"icon":99},"Backing up Harblet","\u002Fdocs\u002Fbackups\u002Fharblet-backups","docs\u002F3.backups\u002F3.harblet-backups","i-lucide-shield-check",{"title":101,"icon":6,"path":102,"stem":103,"children":104,"page":6},"Administration","\u002Fdocs\u002Fadministration","docs\u002F4.administration",[105,110,115,120],{"title":106,"path":107,"stem":108,"icon":109},"Harblet's domain","\u002Fdocs\u002Fadministration\u002Fharblet-domain","docs\u002F4.administration\u002F1.harblet-domain","i-lucide-globe",{"title":111,"path":112,"stem":113,"icon":114},"Servers","\u002Fdocs\u002Fadministration\u002Fservers","docs\u002F4.administration\u002F2.servers","i-lucide-server",{"title":116,"path":117,"stem":118,"icon":119},"Team and account","\u002Fdocs\u002Fadministration\u002Fteam","docs\u002F4.administration\u002F3.team","i-lucide-users",{"title":121,"path":122,"stem":123,"icon":124},"Updates","\u002Fdocs\u002Fadministration\u002Fupdates","docs\u002F4.administration\u002F4.updates","i-lucide-refresh-cw",{"title":126,"icon":6,"path":127,"stem":128,"children":129,"page":6},"Reference","\u002Fdocs\u002Freference","docs\u002F5.reference",[130,135],{"title":131,"path":132,"stem":133,"icon":134},"Troubleshooting","\u002Fdocs\u002Freference\u002Ftroubleshooting","docs\u002F5.reference\u002F1.troubleshooting","i-lucide-life-buoy",{"title":136,"path":137,"stem":138,"icon":139},"License","\u002Fdocs\u002Freference\u002Flicense","docs\u002F5.reference\u002F2.license","i-lucide-scale",{"id":141,"title":51,"body":142,"description":558,"extension":559,"links":560,"meta":561,"navigation":562,"path":52,"seo":563,"stem":53,"__hash__":564},"docs\u002Fdocs\u002F2.deploy\u002F05.templates.md",{"type":143,"value":144,"toc":542},"minimark",[145,149,154,311,340,344,348,439,448,452,496,500,504,521,528,532,538],[146,147,148],"p",{},"A template adds a ready-made app to a project: its services, its database, its environment variables and its volumes. Every part is a normal service that you can change afterwards.",[150,151,153],"h2",{"id":152},"available-templates","Available templates",[155,156,157,176],"table",{},[158,159,160],"thead",{},[161,162,163,167,170,173],"tr",{},[164,165,166],"th",{},"Template",[164,168,169],{},"What it installs",[164,171,172],{},"Domain",[164,174,175],{},"First login",[177,178,179,203,224,241,254,267,287,299],"tbody",{},[161,180,181,185,188,191],{},[182,183,184],"td",{},"authentik",[182,186,187],{},"authentik, its worker and PostgreSQL",[182,189,190],{},"Optional",[182,192,193,194,198,199,202],{},"User ",[195,196,197],"code",{},"akadmin",", with the password in the worker's ",[195,200,201],{},"AUTHENTIK_BOOTSTRAP_PASSWORD"," variable",[161,204,205,208,211,214],{},[182,206,207],{},"Directus",[182,209,210],{},"Directus and PostgreSQL",[182,212,213],{},"Required",[182,215,216,219,220,223],{},[195,217,218],{},"admin@example.com",", with the password in the service's ",[195,221,222],{},"ADMIN_PASSWORD"," variable. Change both.",[161,225,226,229,231,233],{},[182,227,228],{},"GitLab",[182,230,228],{},[182,232,213],{},[182,234,193,235,219,238,202],{},[195,236,237],{},"root",[195,239,240],{},"GITLAB_ROOT_PASSWORD",[161,242,243,246,249,251],{},[182,244,245],{},"n8n",[182,247,248],{},"n8n with a worker, a runner, Redis and PostgreSQL",[182,250,213],{},[182,252,253],{},"Create the owner account on the first visit",[161,255,256,259,262,264],{},[182,257,258],{},"Plausible",[182,260,261],{},"Plausible, ClickHouse and PostgreSQL",[182,263,213],{},[182,265,266],{},"Register your account on the first visit",[161,268,269,272,275,277],{},[182,270,271],{},"Umami",[182,273,274],{},"Umami and PostgreSQL",[182,276,190],{},[182,278,193,279,282,283,286],{},[195,280,281],{},"admin",", password ",[195,284,285],{},"umami",". Change it.",[161,288,289,292,294,296],{},[182,290,291],{},"Uptime Kuma",[182,293,291],{},[182,295,190],{},[182,297,298],{},"Set up in the app",[161,300,301,304,307,309],{},[182,302,303],{},"WordPress",[182,305,306],{},"WordPress and MySQL",[182,308,190],{},[182,310,298],{},[312,313,314,330,335],"ul",{},[315,316,317,320,321,323,324,326,327,329],"li",{},[318,319,228],"strong",{}," needs about 4 GB of free memory, and ",[318,322,184],{},", ",[318,325,245],{}," and ",[318,328,258],{}," about 2 GB each.",[315,331,332,334],{},[318,333,228],{}," takes several minutes to start for the first time. Git works over HTTPS, not SSH.",[315,336,337,339],{},[318,338,184],{}," needs S3 storage for uploaded files. Set it up in the environment variables of both of its services.",[341,342,343],"warning",{},"Where an app lets its first visitor create the admin account, open it right after installing and create the account yourself.",[150,345,347],{"id":346},"install-a-template","Install a template",[349,350,352,357,372,376,385,389,396,400,409,424,428],"steps",{"level":351},"3",[353,354,356],"h3",{"id":355},"prepare-the-domain","Prepare the domain",[146,358,359,360,363,364,367,368,371],{},"Create a DNS ",[318,361,362],{},"A record"," for the app's domain with the IP address of your first server, and make sure a certificate under ",[318,365,366],{},"SSL Certificates"," covers it. See ",[369,370,76],"a",{"href":77},".",[353,373,375],{"id":374},"open-the-project","Open the project",[146,377,378,379,382,383,371],{},"Open a project and click ",[318,380,381],{},"New service"," → ",[318,384,166],{},[353,386,388],{"id":387},"choose-a-template","Choose a template",[146,390,391,392,395],{},"Choose a template from the list. Harblet shows what it installs: the ",[318,393,394],{},"Services"," with their images, a link to the app's website, and what to know before the first login.",[353,397,399],{"id":398},"enter-the-domain","Enter the domain",[146,401,402,403,405,406,371],{},"Enter the app's domain under ",[318,404,172],{},", for example ",[195,407,408],{},"wordpress.example.com",[312,410,411,414],{},[315,412,413],{},"Some apps have to know their address. For them the domain is required.",[315,415,416,417,419,420,423],{},"For the others the field is marked ",[318,418,190],{},". You can add a domain later on the service's ",[318,421,422],{},"Domains"," tab.",[353,425,427],{"id":426},"install-it","Install it",[146,429,430,431,434,435,438],{},"Click ",[318,432,433],{},"Install",". Harblet creates the services and deploys them one after another, the database first. A service shows ",[318,436,437],{},"Queued"," until the one before it runs.",[146,440,441,442,444,445,371],{},"Harblet checks the domain before it creates anything, with the same messages as on the ",[318,443,422],{}," tab. See ",[369,446,131],{"href":447},"\u002Fdocs\u002Fdeploy\u002Fdomains#troubleshooting",[150,449,451],{"id":450},"after-the-install","After the install",[312,453,454,464,480,490],{},[315,455,456,459,460,463],{},[318,457,458],{},"Passwords and keys"," that Harblet generated are in the services' ",[369,461,462],{"href":57},"environment variables",". Every member can see them.",[315,465,466,469,470,473,474,477,478,423],{},[318,467,468],{},"The database"," is a normal ",[369,471,472],{"href":47},"database",". Set up ",[369,475,476],{"href":92},"backups"," on its ",[318,479,81],{},[315,481,482,485,486,489],{},[318,483,484],{},"Files"," are kept in ",[369,487,488],{"href":62},"volumes",". A service with volumes stays on one server and stops briefly during a deployment.",[315,491,492,495],{},[318,493,494],{},"Each service"," has its own deployments, logs and settings, like any other service.",[497,498,499],"caution",{},"Harblet backs up databases, not volumes. Files such as WordPress uploads, or all the data of GitLab, are only on the disk of the server. Back them up with the app's own tools.",[150,501,503],{"id":502},"update-an-app","Update an app",[146,505,506,507,382,510,513,514,517,518,520],{},"Each service of the app runs the image under its ",[318,508,509],{},"Settings",[318,511,512],{},"Image",". To update the app, change the tag there, click ",[318,515,516],{},"Save",", then ",[318,519,26],{},". Do this for every service that runs the app's image, such as n8n and its worker. Read the app's upgrade notes first. GitLab, for example, supports only certain upgrade paths.",[146,522,523,524,527],{},"Services with a moving tag such as ",[195,525,526],{},"wordpress:latest"," pull the newest image on every deployment and restart.",[150,529,531],{"id":530},"remove-an-app","Remove an app",[146,533,534,535,537],{},"Harblet doesn't keep the services of a template together. Delete each service under its ",[318,536,509],{},", or delete the project.",[539,540,541],"note",{},"Docker Compose files can't be imported. If no template fits, add each part of the stack as its own service in one project.",{"title":543,"searchDepth":544,"depth":544,"links":545},"",2,[546,547,555,556,557],{"id":152,"depth":544,"text":153},{"id":346,"depth":544,"text":347,"children":548},[549,551,552,553,554],{"id":355,"depth":550,"text":356},3,{"id":374,"depth":550,"text":375},{"id":387,"depth":550,"text":388},{"id":398,"depth":550,"text":399},{"id":426,"depth":550,"text":427},{"id":450,"depth":544,"text":451},{"id":502,"depth":544,"text":503},{"id":530,"depth":544,"text":531},"Install ready-made apps such as WordPress, n8n or GitLab with their database, volumes and domain in one step.","md",null,{},{"icon":54},{"title":51,"description":558},"Qiyok8PLmzK5TZCKu7B3reqJwFX625GZdpiMqZqwY-Q",[566,568],{"title":46,"path":47,"stem":48,"description":567,"icon":49,"children":-1},"Create a PostgreSQL or MySQL database in one click and connect your services to it.",{"title":56,"path":57,"stem":58,"description":569,"icon":59,"children":-1},"Give your services API keys, database URLs and other settings, stored encrypted.",1795343986950]