[{"data":1,"prerenderedAt":301},["ShallowReactive",2],{"navigation-en":3,"/en/operation-en":46,"/en/operation-en-surround":296},[4,8,12,38,42],{"title":5,"path":6,"stem":7},"Overview","/en","en/0.index",{"title":9,"path":10,"stem":11},"Quick start","/en/getting-started/self-hosting","en/1.getting-started/1.self-hosting",{"title":13,"path":14,"stem":15,"children":16},"Operation","/en/operation","en/2.operation/0.index",[17,18,22,26,30,34],{"title":13,"path":14,"stem":15},{"title":19,"path":20,"stem":21},"Installation","/en/operation/installation","en/2.operation/1.installation",{"title":23,"path":24,"stem":25},"Email delivery","/en/operation/mail","en/2.operation/2.mail",{"title":27,"path":28,"stem":29},"Documents","/en/operation/documents","en/2.operation/3.documents",{"title":31,"path":32,"stem":33},"Accounts and roles","/en/operation/accounts-and-roles","en/2.operation/4.accounts-and-roles",{"title":35,"path":36,"stem":37},"Separate hosts","/en/operation/separate-hosts","en/2.operation/5.separate-hosts",{"title":39,"path":40,"stem":41},"Sign-in","/en/sign-in","en/3.sign-in",{"title":43,"path":44,"stem":45},"Backend API v1","/en/api","en/4.api",{"id":47,"title":13,"body":48,"description":288,"extension":289,"links":290,"meta":291,"navigation":290,"path":14,"seo":292,"stem":15,"__hash__":295},"en/en/2.operation/0.index.md",{"type":49,"value":50,"toc":280},"minimark",[51,76,81,224,227,231,242,246],[52,53,54,55,59,60,63,64,67,68,71,72,75],"p",{},"The self-hosting package is located in the backend repository under ",[56,57,58],"code",{},"deploy/selfhost",". It consists of ",[56,61,62],{},"compose.yaml",", the additions ",[56,65,66],{},"compose.mail.yaml"," and ",[56,69,70],{},"compose.build.yaml",", the ",[56,73,74],{},".env.example"," template and the Drupal start scripts.",[77,78,80],"h2",{"id":79},"services-and-ports","Services and ports",[82,83,84,100],"table",{},[85,86,87],"thead",{},[88,89,90,94,97],"tr",{},[91,92,93],"th",{},"Service",[91,95,96],{},"Purpose",[91,98,99],{},"Host port",[101,102,103,123,141,154,166,178,194,206],"tbody",{},[88,104,105,111,114],{},[106,107,108],"td",{},[56,109,110],{},"ui",[106,112,113],{},"Citizen portal and casework",[106,115,116,119,120],{},[56,117,118],{},"UI_PORT",", default ",[56,121,122],{},"13000",[88,124,125,130,133],{},[106,126,127],{},[56,128,129],{},"nginx",[106,131,132],{},"Serves Drupal",[106,134,135,119,138],{},[56,136,137],{},"DRUPAL_PORT",[56,139,140],{},"18080",[88,142,143,148,151],{},[106,144,145],{},[56,146,147],{},"drupal",[106,149,150],{},"Drupal with PHP-FPM",[106,152,153],{},"none",[88,155,156,161,164],{},[106,157,158],{},[56,159,160],{},"db",[106,162,163],{},"MariaDB",[106,165,153],{},[88,167,168,173,176],{},[106,169,170],{},[56,171,172],{},"docgen",[106,174,175],{},"Document service",[106,177,153],{},[88,179,180,189,192],{},[106,181,182,185,186],{},[56,183,184],{},"docgen-gotenberg",", ",[56,187,188],{},"docgen-verapdf",[106,190,191],{},"PDF/A conversion and validation",[106,193,153],{},[88,195,196,201,204],{},[106,197,198],{},[56,199,200],{},"clamav",[106,202,203],{},"Virus scanning of attachments",[106,205,153],{},[88,207,208,213,216],{},[106,209,210],{},[56,211,212],{},"mailpit",[106,214,215],{},"Test mailbox in the default setup",[106,217,218,119,221],{},[56,219,220],{},"MAIL_PORT",[56,222,223],{},"18025",[52,225,226],{},"Published ports are bound to loopback. Docgen, Gotenberg and veraPDF run in internal Docker networks without outside connectivity.",[77,228,230],{"id":229},"data-and-secrets","Data and secrets",[52,232,233,234,237,238,241],{},"On first startup, Compose generates the database and service passwords, the Drupal salt, the application encryption key and the token for the document service. Database, files and secrets are stored in named volumes. ",[56,235,236],{},"docker compose down"," keeps these volumes. ",[56,239,240],{},"docker compose down --volumes"," deletes the data and secrets of the installation. A complete backup covers all volumes of the project.",[77,243,245],{"id":244},"topics","Topics",[247,248,249,260,265,270,275],"ul",{},[250,251,252,255,256,259],"li",{},[253,254,19],"a",{"href":20},": images, versions, ",[56,257,258],{},".env",", building from source and updates.",[250,261,262,264],{},[253,263,23],{"href":24},": Mailpit or an existing SMTP server.",[250,266,267,269],{},[253,268,27],{"href":28},": Docgen, decision notices and PDF/A.",[250,271,272,274],{},[253,273,31],{"href":32},": staff accounts, departments and Fachadministration.",[250,276,277,279],{},[253,278,35],{"href":36},": citizen portal and casework on their own hosts.",{"title":281,"searchDepth":282,"depth":283,"links":284},"",3,2,[285,286,287],{"id":79,"depth":283,"text":80},{"id":229,"depth":283,"text":230},{"id":244,"depth":283,"text":245},"Structure of the Compose package, services, ports and data of a self-hosted installation.","md",null,{},{"title":293,"description":294},"Self-hosting: services, ports and data","How the Compose package for self-hosting is structured: which services run, which ports are published and where data and secrets are stored.","oriosZRM1N3KzqvRJk1Pzqs5kvwgW_MO3lrhlnoxao4",[297,299],{"title":9,"path":10,"stem":11,"description":298,"children":-1},"Running the sample municipality of Musterstadt locally with Docker Compose: test accounts, passwordless sign-in and one-time codes in Mailpit.",{"title":19,"path":20,"stem":21,"description":300,"children":-1},"Images and versions, configuration in .env, starting without sample data, building from source, TLS and updates.",1795601412415]