# LogiStack Docs > LogiStack is an open-source (Apache 2.0), self-hosted platform as a service (PaaS) built on Docker Swarm. You install it on your own Linux server with one command and deploy apps from Git, a Docker image, a compose file or one of 500+ templates, with automatic HTTPS, databases, backups, S3 storage, metrics, a web dashboard, a REST API and an MCP server for AI agents. Install: `curl -fsSL https://stack.logicaltech.it/install.sh | sudo bash` Website: https://stack.logicaltech.it/ Source: https://github.com/logical-tech/logistack Full docs as one file: https://stack.logicaltech.it/docs/llms-full.txt Every page is also available as Markdown by appending `content.md` under https://stack.logicaltech.it/docs/llms.mdx/ (for example https://stack.logicaltech.it/docs/llms.mdx/getting-started/install/content.md). ## Pages - [Chat with the Agent](https://stack.logicaltech.it/docs/automation/agent/): Ask the built-in Agent to check, deploy or change your services in plain language. It calls the LogiStack API with your permissions and asks before it deletes or stops anything. - [Use LogiStack with AI coding agents](https://stack.logicaltech.it/docs/automation/ai-agents/): Set up Claude Code, Cursor and other AI coding agents to deploy on LogiStack with the MCP server, llms.txt docs, per-page Markdown and an AGENTS.md snippet. - [The logistack CLI](https://stack.logicaltech.it/docs/automation/cli/): Diff, apply and export project manifests, deploy services, follow logs and open a shell from your terminal or CI with the logistack command line tool. - [Git webhooks and deploys from CI](https://stack.logicaltech.it/docs/automation/git-webhooks/): Deploy LogiStack services on git push, tag or release, wait for CI checks, skip commits, and trigger deploys from GitHub Actions with the REST API. - [Deploy a project from a manifest in git (GitOps)](https://stack.logicaltech.it/docs/automation/gitops/): Link a project to a manifest file in a git repository so every push that changes it is planned, applied and deployed, and optionally refuse manual edits. - [Automate LogiStack](https://stack.logicaltech.it/docs/automation/): Drive LogiStack from scripts, CI pipelines and AI agents with the REST API, the built-in MCP server, project manifests and git webhooks. - [MCP server](https://stack.logicaltech.it/docs/automation/mcp-server/): Connect Claude Code, Claude Desktop, Cursor or VS Code to LogiStack's built-in MCP server and let an AI agent deploy, inspect and manage services. - [Project manifests (configuration as code)](https://stack.logicaltech.it/docs/automation/project-manifests/): Export a LogiStack project or environment as a YAML or JSON manifest, keep it in git, and apply it from the dashboard, CI or an agent with a dry run first. - [REST API](https://stack.logicaltech.it/docs/automation/rest-api/): Call the LogiStack REST API with an lsk_ API key. Base URL, authentication, OpenAPI reference, errors and curl examples to create and deploy services. - [Back up to SFTP, WebDAV, Azure, Google Drive or a disk](https://stack.logicaltech.it/docs/data/backup-destinations/): Send database and volume backups to an SFTP server, a WebDAV share, Azure Blob Storage, Google Drive, Backblaze B2's native API or a folder on a node. - [Back up a database or volume](https://stack.logicaltech.it/docs/data/backups/): Create a backup policy that dumps a database or archives a volume to S3, SFTP or another destination on a cron, with retention, encryption and verifies. - [Browse and edit a database](https://stack.logicaltech.it/docs/data/database-editor/): Use the Database tab to browse tables, filter and edit rows, run SQL, view the schema diagram, manage roles, dump and restore, and edit Redis keys or MongoDB documents. - [Expose, forward and upgrade a database](https://stack.logicaltech.it/docs/data/database-operations/): Open a database to the internet with TLS and an IP allowlist, give a local tool a temporary port forward, or upgrade to a new major version with automatic rollback. - [Data, backups and storage](https://stack.logicaltech.it/docs/data/): Browse and edit databases, back them up on a cron, restore them, run object storage and scheduled jobs, and manage files in volumes. - [Run S3-compatible object storage](https://stack.logicaltech.it/docs/data/object-storage/): Run MinIO, RustFS, Garage or SeaweedFS as a service, then manage buckets, upload files, create share links and give each app a scoped access key. - [Restore a database or volume from a backup](https://stack.logicaltech.it/docs/data/restore/): Restore an S3 backup into the service or into a new copy beside it with the restore wizard, or decrypt and restore a backup by hand with age and the AWS CLI. - [Add an S3 destination for backups](https://stack.logicaltech.it/docs/data/s3-destinations/): Connect an S3-compatible bucket such as AWS S3, Cloudflare R2, Backblaze B2, Hetzner, MinIO or Wasabi, and test the connection before backup policies use it. - [Run scheduled jobs with cron](https://stack.logicaltech.it/docs/data/schedules/): Create schedules that run a shell script on a cron in a fresh container, inside a service or on a node, with a timezone, timeout, overlap rule and run history. - [Manage volumes and files of a service](https://stack.logicaltech.it/docs/data/volumes-and-files/): Use the Files tab to edit mounted config files, upload and delete files in named volumes, and browse, view, download or upload files in a running container. - [Archive a project](https://stack.logicaltech.it/docs/deploy/archive-projects/): Archive a project to stop all its services and hide it from the projects list without deleting anything, then unarchive it to start the same services again. - [Scale a service automatically](https://stack.logicaltech.it/docs/deploy/autoscaling/): Let LogiStack add and remove copies of a service as its CPU load changes, between a minimum and maximum you choose, with a replay of the last day before you turn it on. - [Build for amd64 and arm64](https://stack.logicaltech.it/docs/deploy/build-platforms/): Choose which CPU architectures LogiStack builds images for, build multi-architecture images for mixed amd64 and arm64 swarms, and set up QEMU emulation. - [Build types for Git services](https://stack.logicaltech.it/docs/deploy/build-types/): How LogiStack builds Git services with BuildKit using a Dockerfile or Railpack, with build variables, secrets, multi-stage targets and example Dockerfiles. - [Deploy a Docker Compose stack](https://stack.logicaltech.it/docs/deploy/compose-stacks/): Paste a docker-compose.yml or follow one in a Git repository, and LogiStack deploys every compose service as one stack with domains, volumes and logs. - [Create a managed database](https://stack.logicaltech.it/docs/deploy/databases/): Create PostgreSQL, MySQL, MariaDB, MongoDB, Redis or libSQL databases on LogiStack with generated credentials, internal hostnames and connection strings. - [Deployments, rollbacks and live logs](https://stack.logicaltech.it/docs/deploy/deployments/): How a LogiStack deployment goes from queued to ready, with live build logs, rolling updates, release commands, cancel, rollback and Review changes. - [Secrets and environment variables](https://stack.logicaltech.it/docs/deploy/environment-variables/): Store secrets encrypted and versioned at the organization, folder, project, environment or service level, reference them from services, and share plain variables across scopes. - [Production, staging and custom environments](https://stack.logicaltech.it/docs/deploy/environments/): Create production, staging and custom environments in a LogiStack project, duplicate one into another, recolor them and set the default. - [External secrets from Vault, Infisical and 1Password](https://stack.logicaltech.it/docs/deploy/external-secrets/): Reference secrets kept in HashiCorp Vault, Infisical or 1Password Connect; LogiStack reads them at deploy time and never stores a copy. - [Deploy an app from Git](https://stack.logicaltech.it/docs/deploy/from-git/): Connect a GitHub, GitLab, Gitea, Bitbucket or SSH Git repository to LogiStack, build it on every push and control deploys with watch paths and triggers. - [Deploy a Docker image](https://stack.logicaltech.it/docs/deploy/from-image/): Run a published Docker image from Docker Hub, GHCR or any registry on LogiStack, with a domain, published ports, bind mounts and release commands. - [Run a game or voice server](https://stack.logicaltech.it/docs/deploy/game-servers/): Deploy Minecraft Java or Bedrock, Counter-Strike 2, TeamSpeak 3 or Mumble on LogiStack with published ports, an RCON console and DNS records. - [Deploy services](https://stack.logicaltech.it/docs/deploy/): The kinds of service LogiStack runs, from Git repositories and Docker images to databases, Compose stacks, templates and game servers. - [Preview environments for pull requests](https://stack.logicaltech.it/docs/deploy/preview-environments/): Give every pull request its own live LogiStack environment with its own URL, cloned from staging or production and removed when the pull request closes. - [Container registries](https://stack.logicaltech.it/docs/deploy/registries/): Use LogiStack's built-in registry or connect GHCR, Docker Hub or any OCI registry for built images, with retention, a default registry and private image pulls. - [Service settings](https://stack.logicaltech.it/docs/deploy/service-settings/): Change a LogiStack service's source, build, CPU and memory limits, scaling, health check, ports, placement and command, and stop, restart or delete it. - [Deploy an app from a template](https://stack.logicaltech.it/docs/deploy/templates/): Deploy n8n, Plausible and over 500 other self-hosted apps from the LogiStack template catalog, with their databases, volumes and generated secrets. - [Concepts](https://stack.logicaltech.it/docs/getting-started/concepts/): How LogiStack organizes your work into organizations, folders, projects, environments and services, and how it converges Docker Swarm and Caddy. - [Tour of the dashboard](https://stack.logicaltech.it/docs/getting-started/dashboard-tour/): Find your way around the LogiStack dashboard, from Home and Projects to Monitoring, Domains, Storage, Integrations, Settings and the command menu. - [Deploy your first app](https://stack.logicaltech.it/docs/getting-started/first-deploy/): Create a project, add a service from a Git repository or a Docker image, give it an HTTPS domain, deploy it and follow its build and logs in LogiStack. - [Install LogiStack on your server](https://stack.logicaltech.it/docs/getting-started/install/): Install LogiStack on Ubuntu or Debian with one command, preview it with a dry run, choose installer flags and reach the setup wizard. - [Complete the setup wizard](https://stack.logicaltech.it/docs/getting-started/setup-wizard/): Create the owner account, name your organization, choose the instance URL and domain, check DNS and turn on the local registry in LogiStack's setup wizard. - [Introduction](https://stack.logicaltech.it/docs/): LogiStack is a self-hosted platform that deploys apps, databases and compose stacks to your own servers with HTTPS, backups, metrics and a REST API. - [Protect a domain with access rules](https://stack.logicaltech.it/docs/networking/access-control/): Put a password, a sign-in gateway such as Authelia or Authentik, or an IP allowlist in front of a LogiStack domain, checked by the proxy before the service. - [Cloudflare Tunnels](https://stack.logicaltech.it/docs/networking/cloudflare-tunnels/): Publish LogiStack services through a Cloudflare Tunnel with no open inbound ports, for a homelab or a server behind NAT, and pick per domain what goes through it. - [Connect a DNS provider](https://stack.logicaltech.it/docs/networking/dns-providers/): Connect Cloudflare, Route 53, Hetzner, DigitalOcean, OVHcloud or Porkbun so LogiStack creates records, issues DNS-01 wildcard certificates and edits zones. - [Add a domain to a service](https://stack.logicaltech.it/docs/networking/domains/): Route your own hostname or a generated sslip.io hostname to a service, create its A, AAAA or CNAME record, and route by path prefix. - [HTTPS certificates](https://stack.logicaltech.it/docs/networking/https-certificates/): How LogiStack gets Let's Encrypt certificates over HTTP-01 or DNS-01, how to upload your own or issue a Cloudflare Origin certificate, and how to track expiry. - [How traffic reaches your services](https://stack.logicaltech.it/docs/networking/): How requests reach a LogiStack service through the Caddy proxy on ports 80 and 443, published ports, or a Cloudflare Tunnel, and which one to pick. - [Network map](https://stack.logicaltech.it/docs/networking/network-map/): See how traffic reaches each LogiStack service, from the internet through Caddy or a Cloudflare Tunnel to every domain, service and running task. - [Tailscale](https://stack.logicaltech.it/docs/networking/tailscale/): Join every LogiStack server to your Tailscale tailnet and publish chosen services on tailnet hostnames, over HTTPS with a tailnet certificate. - [Rate limits, blocking, error pages and maintenance mode](https://stack.logicaltech.it/docs/networking/traffic-rules/): Limit requests per IP, block scanner paths and user agents, show a branded page during a failed deploy, and put a service in maintenance mode. - [Per-server wildcard DNS](https://stack.logicaltech.it/docs/networking/wildcard-dns/): Give every generated hostname a name under your own domain with one wildcard certificate over DNS-01, and avoid the shared sslip.io and nip.io rate limits. - [Alerts and notifications](https://stack.logicaltech.it/docs/operations/alerts-and-notifications/): Send deployment, backup, certificate, node and threshold events to Slack, Discord, email, Telegram, Teams, ntfy or a signed webhook, and set CPU, memory and disk alerts. - [Operate LogiStack](https://stack.logicaltech.it/docs/operations/): Watch logs and metrics, open a shell in a container, add servers, send alerts, track usage, update LogiStack and migrate from Dokploy or Coolify. - [Ship logs to Loki, Datadog or OpenTelemetry](https://stack.logicaltech.it/docs/operations/log-drains/): Send service logs to Grafana Loki, an OpenTelemetry collector, Datadog, syslog or any HTTP endpoint, labelled by project, environment, service and node. - [View logs and open a terminal](https://stack.logicaltech.it/docs/operations/logs-and-terminal/): Follow a service's live logs across replicas, search and filter them, read a compose stack's logs on one timeline, and open a shell in a running container. - [Service and node metrics](https://stack.logicaltech.it/docs/operations/metrics/): Read CPU, memory, network and disk I/O charts for a service, a node or the whole cluster over 1 hour to 30 days, and set how long LogiStack keeps samples. - [Migrate from Coolify](https://stack.logicaltech.it/docs/operations/migrate-from-coolify/): Move Coolify v4 applications, databases, one-click services, domains and settings to LogiStack on the same server, one service at a time, with a rollback for each. - [Migrate from Dokploy](https://stack.logicaltech.it/docs/operations/migrate-from-dokploy/): Move Dokploy projects, apps, compose files, databases, domains and settings to LogiStack on the same server, one service at a time, with a rollback for each. - [Migrate from Dokploy or Coolify in 10 minutes](https://stack.logicaltech.it/docs/operations/migrate-in-ten-minutes/): The short path from a Dokploy or Coolify server to LogiStack on the same machine. Install next to it, run the migration wizard, and switch traffic. - [Add and manage servers (nodes)](https://stack.logicaltech.it/docs/operations/nodes/): Grow your LogiStack cluster by joining Linux servers to Docker Swarm over SSH, place services with node labels, free disk space, drain and remove nodes. - [Patch the OS of your servers](https://stack.logicaltech.it/docs/operations/os-patching/): See pending apt and dnf updates on every node, then patch nodes one at a time with drain, upgrade, reboot and health checks, by hand or on a schedule. - [Traffic analytics](https://stack.logicaltech.it/docs/operations/traffic-analytics/): See requests per second, status codes, latency percentiles, unique visitors, top paths, referrers and countries for every service, from the proxy's access log, with no cookies. - [Update LogiStack](https://stack.logicaltech.it/docs/operations/updates/): Update LogiStack from the dashboard or the installer, pick the stable, beta or nightly channel, read the changelog first, and learn how an update rolls back. - [Uptime monitoring and status pages](https://stack.logicaltech.it/docs/operations/uptime-and-status-pages/): Check websites, ports, DNS records, certificates and cron jobs from outside, get alerted when they go down, and publish a status page with incidents. - [Resource usage by project and service](https://stack.logicaltech.it/docs/operations/usage/): See the CPU, memory, network and volume space each project, environment and service uses over 24 hours or 7 days, against your cluster's capacity. - [Scan running images for vulnerabilities](https://stack.logicaltech.it/docs/operations/vulnerability-scanning/): See which services run images with known CVEs, with the package, installed version and fixed version, and get notified when a new critical one appears. - [Build a plugin](https://stack.logicaltech.it/docs/plugins/build/): Write a LogiStack plugin in TypeScript with the plugin SDK and the logistack-plugin CLI, from scaffold to a tested image with event hooks, tools, providers and pages. - [How plugins work](https://stack.logicaltech.it/docs/plugins/): A LogiStack plugin is a container image that adds event hooks, agent tools, DNS, notification and secret providers, and dashboard pages, with only the permissions you approve. - [Install and manage plugins](https://stack.logicaltech.it/docs/plugins/install/): Install LogiStack plugins from the marketplace, a container image or a dev URL, then configure, test, update, roll back, turn off or uninstall them. - [Publish a plugin to the marketplace](https://stack.logicaltech.it/docs/plugins/publish/): Sign in to the LogiStack plugin index, register a plugin id, submit versions by image digest and get them verified, so any LogiStack instance can install them. - [Plugin manifest and contract reference](https://stack.logicaltech.it/docs/plugins/reference/): Every LogiStack plugin manifest field, the v1 HTTP endpoints a plugin serves, the request signature, environment variables, page session tokens and limits. - [Architecture](https://stack.logicaltech.it/docs/reference/architecture/): How LogiStack works inside. The api, worker, agent, Postgres, Redis, Caddy and BuildKit, the reconciler, Docker labels, immutable image tags and networks. - [Frequently asked questions](https://stack.logicaltech.it/docs/reference/faq/): Answers about LogiStack. Pricing and license, server requirements, multi-server clusters, databases, migrating from Dokploy or Coolify, security and AI agents. - [Glossary](https://stack.logicaltech.it/docs/reference/glossary/): Definitions of the terms used across LogiStack and its docs, from agent, environment and manifest to reconciler, scope, stack and watch paths. - [Installer reference (install.sh)](https://stack.logicaltech.it/docs/reference/installer/): Every install.sh flag and environment variable, what the LogiStack installer changes on the server, how to upgrade, repair and uninstall. - [No license gates](https://stack.logicaltech.it/docs/reference/no-license-gates/): Every LogiStack feature, including SSO, the audit log, custom roles and multi-node clusters, is free and open source under Apache 2.0. There is no paid edition. - [Security model](https://stack.logicaltech.it/docs/reference/security-model/): How LogiStack avoids shell injection, scopes cleanup to its own Docker objects, converges state with a reconciler, and protects setup and updates. - [Troubleshooting](https://stack.logicaltech.it/docs/reference/troubleshooting/): Fix common LogiStack problems: setup wizard unreachable, ports 80 and 443 busy, Let's Encrypt rate limits, failed builds, unhealthy services, node joins. - [Tasks from the API and MCP](https://stack.logicaltech.it/docs/tasks/api-and-mcp/): Create, update, filter and export LogiStack tasks with the REST API, and let an AI agent manage them through MCP tools such as work_task_create. - [Connect commits and pull requests to tasks](https://stack.logicaltech.it/docs/tasks/commits-and-pull-requests/): Mention a task key such as SHOP-42 in a commit, branch or pull request to link it, and close the task with "Fixes SHOP-42" when it reaches the default branch. - [CSV import and export](https://stack.logicaltech.it/docs/tasks/csv-import-and-export/): Export a table view of tasks to CSV, and import tasks from a CSV file with column mapping, a preview of the first rows and a report. - [Invite a client as a guest](https://stack.logicaltech.it/docs/tasks/guests/): Invite a client to one project as a guest who reads tasks and comments, without access to other projects, the member list or anything about servers. - [Import from ClickUp](https://stack.logicaltech.it/docs/tasks/import-from-clickup/): Move ClickUp spaces, folders and lists into LogiStack with tasks, subtasks, statuses, custom fields, comments, attachments and time entries, in one wizard. - [Tasks and project management](https://stack.logicaltech.it/docs/tasks/): Plan client work in LogiStack with lists, tasks, custom fields and board, table, timeline and calendar views on the same projects you deploy. - [Lists, statuses and custom fields](https://stack.logicaltech.it/docs/tasks/lists-statuses-and-fields/): Organize a project's tasks into lists, edit its statuses and WIP limits, and add custom fields such as select, currency, date, user and rating. - [Task notifications and email](https://stack.logicaltech.it/docs/tasks/notifications-and-email/): Get task notifications in the Inbox and by email, set up instance mail over SMTP or Resend, subscribe to a calendar feed, and route task events to Slack. - [Recurring tasks](https://stack.logicaltech.it/docs/tasks/recurring-tasks/): Make a task repeat every day, week, month or year, when it is completed or on a fixed schedule, and choose what each new occurrence copies. - [Project manager and guest roles](https://stack.logicaltech.it/docs/tasks/roles/): The read:work, comment:work, work and work:admin actions, the Project manager and Guest roles, and why a project manager never sees deployments. - [Service health for project managers](https://stack.logicaltech.it/docs/tasks/service-health/): The six health states a project manager sees for each project and service, how LogiStack decides them, and which services count. - [Read-only share links](https://stack.logicaltech.it/docs/tasks/share-links/): Share one list or view of tasks with a client who has no account, read-only, with an optional password and expiry, and revoke it at any time. - [Task details: subtasks, comments and attachments](https://stack.logicaltech.it/docs/tasks/task-details/): Edit a task's status, dates and fields, add subtasks, checklists and dependencies, attach screenshots, and discuss it in comments with mentions. - [Task, list and project templates](https://stack.logicaltech.it/docs/tasks/templates/): Save a task, a list or a project's whole Tasks setup as a template, and create new work from it with dates scheduled from a start or finish date. - [Time tracking](https://stack.logicaltech.it/docs/tasks/time-tracking/): Track time on tasks with a timer or by hand, compare it with estimates, fill a weekly timesheet, and export reports by project, person or day as CSV. - [Views: table, board, timeline and calendar](https://stack.logicaltech.it/docs/tasks/views/): Work with tasks in table, board, timeline and calendar views, filter and group them, plan dependencies, and save shared or personal views. - [API keys](https://stack.logicaltech.it/docs/team/api-keys/): Create LogiStack API keys for CI, scripts and AI agents, limit them to a folder or project, set an expiry, rotate or revoke them, and call the API with curl. - [Organization settings and appearance](https://stack.logicaltech.it/docs/team/appearance/): Set your organization's name and logo, define resource profiles, allow private hosts, and choose light, dark or system mode and a color theme in LogiStack. - [Audit log](https://stack.logicaltech.it/docs/team/audit-log/): See every change made in LogiStack through the dashboard, the API or MCP, filter by person, action, resource and outcome, and export the log as CSV or JSON. - [Team and security](https://stack.logicaltech.it/docs/team/): Invite your team, grant roles per folder, project or environment, connect SSO, require 2FA and manage API keys, service accounts and the audit log. - [Instance admins](https://stack.logicaltech.it/docs/team/instance-admins/): Choose who may update LogiStack, add and remove servers and change instance-wide settings, apart from organization owners and admins. - [Invite members and manage roles](https://stack.logicaltech.it/docs/team/members-and-invitations/): Invite teammates to your LogiStack organization with a one-time link, accept an invitation, change a member's role, add scoped access or remove them. - [Roles and permissions](https://stack.logicaltech.it/docs/team/roles-and-permissions/): How LogiStack permissions work, the Owner, Admin, Developer, Viewer, Project manager and Guest roles, custom roles, and grants on every scope. - [Service accounts](https://stack.logicaltech.it/docs/team/service-accounts/): Create LogiStack service accounts for CI pipelines and AI agents, give them a role, issue API keys they own, and keep automation working when people leave. - [SSH keys](https://stack.logicaltech.it/docs/team/ssh-keys/): Generate or import ed25519 SSH keys in LogiStack for private Git repositories over SSH and for bootstrapping new servers, and copy their public keys. - [Single sign-on with OIDC and SAML](https://stack.logicaltech.it/docs/team/sso/): Connect Okta, Microsoft Entra ID, Google Workspace or Keycloak to LogiStack over OIDC or SAML, test the sign-in, and let your email domain join automatically. - [Two-factor authentication and passkeys](https://stack.logicaltech.it/docs/team/two-factor-and-passkeys/): Protect LogiStack sign-ins with an authenticator app, backup codes or passkeys, manage your sessions, and require two-factor for the whole organization.