LinkStack logo

LinkStack

Self-hosted Linktree alternative for link-in-bio profile pages

Alternative to: linktree


LinkStack is a self-hosted, open-source alternative to Linktree that lets you build a personalized profile page showcasing all your important links in one place. It offers a drag-and-drop admin panel, themes, and analytics, so creators and small teams can run their own link-in-bio page instead of relying on a hosted SaaS.

LinkStack Docker Compose example

Self-host LinkStack on your own server, homelab, or VPS starting from this Docker Compose example. It runs LinkStack in Docker containers using the official linkstackorg/linkstack:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  linkstack:
    image: linkstackorg/linkstack:latest
    restart: unless-stopped
    environment:
      # Timezone used by the application.
      TZ: "UTC"
      # Administrator email address reported by the web server.
      SERVER_ADMIN: "admin@example.com"
      # Hostname LinkStack answers on over HTTP. Set to your domain.
      HTTP_SERVER_NAME: "localhost"
      # Hostname LinkStack answers on over HTTPS. Set to your domain.
      HTTPS_SERVER_NAME: "localhost"
      # Web server log verbosity (emerg, alert, crit, error, warn, notice, info, debug).
      LOG_LEVEL: "info"
      # PHP memory limit.
      PHP_MEMORY_LIMIT: "256M"
      # Maximum allowed upload file size.
      UPLOAD_MAX_FILESIZE: "8M"
    volumes:
      - data:/htdocs

volumes:
  data:

Prefer a managed setup? WinterFlow installs, configures, and updates LinkStack for you using this same Docker Compose configuration.