Skip to main content

Setup

  1. Add DNS records pointing docs.<domain> to the server:

    • A record: docs → <ipv4>
    • AAAA record: docs → <ipv6>
  2. In Coolify, go to New Resource → Service and search for Docmost. Keep the auto-generated service name and deploy.

  3. Open the service, click on the docmost container (not the service level — the domain field is hidden inside the container settings).

  4. Set the domain to https://docs.<domain> and save. Coolify will issue an SSL cert automatically via the proxy.

  5. Fill in the mail environment variables (everything else is auto-generated by Coolify):

    VariableValue
    MAIL_DRIVERsmtp
    SMTP_HOST{{team.DEFAULT_SMTP_HOST}}
    SMTP_PORT{{team.DEFAULT_SMTP_PORT}}
    SMTP_USERNAME{{team.DEFAULT_SMTP_USERNAME}}
    SMTP_PASSWORD{{team.DEFAULT_SMTP_PASSWORD}}
    SMTP_SECUREfalse (STARTTLS handles it)
    MAIL_FROM_ADDRESS{{team.DEFAULT_SMTP_FROM}}
    MAIL_FROM_NAMEDocmost
    POSTMARK_TOKENleave blank

    MAIL_DRIVER is required — Docmost won't start without it.

  6. Open https://docs.<domain> and create the initial workspace and admin account.