Skip to content

Quick install

Run Lunar Paper on this computer with Docker Compose. The starter includes a demo login and generates the remaining keys and passwords.

Install and start Docker, then check that these commands work.

  • docker version shows both Client and Server.
  • docker compose version shows 2.23.1 or later.
  • On Linux or macOS, openssl version prints a version number.

Already have a trial? Restart it from its original folder.

  1. Download the ZIP. Save lunarpaper-trial-0.8.3.zip in Downloads.

  2. Extract the ZIP. These commands create a folder named lunarpaper-trial-0.8.3 in Downloads.

    Open PowerShell from Start.

    Terminal window
    cd "$env:USERPROFILE\Downloads"
    Expand-Archive -LiteralPath "lunarpaper-trial-0.8.3.zip" -DestinationPath "lunarpaper-trial-0.8.3"

    If the ZIP has a different name or location, use the filename and folder shown in your browser’s downloads.

  3. Navigate to the extracted folder. Use the same terminal to enter the folder and check for compose.yaml.

    Terminal window
    cd ".\lunarpaper-trial-0.8.3"
    Get-ChildItem -Name compose.yaml

    When you see compose.yaml, you’re in the right folder. Run the remaining commands here.

  4. Set your administrator login. Run both commands to create and open your private settings file, .env.

    Terminal window
    powershell -NoProfile -ExecutionPolicy Bypass -File .\create-env.ps1
    notepad .env

    For a localhost trial, you can use the supplied login:

    • Email: demo@lunarpaper.com
    • Password: LunarPaper-Demo!083

    To use your own login, set SYSTEM_ADMIN_USERNAME and SYSTEM_ADMIN_PASSWORD before setup. Choose a unique password of 15–72 ASCII characters with uppercase and lowercase letters, a number and a symbol. Save your changes. For an existing trial, use the login you originally set.

  5. Start Lunar Paper. Run the first command. If it finishes silently, run the second and wait for the containers to start.

    Terminal window
    docker compose config --quiet
    docker compose up -d --wait

    If port 3000 is busy, choose another port and use it in the setup address below.

    Image download says “error from registry: denied”

    Docker may be using an expired GitHub Container Registry login. If you use private GitHub images, renew your login and retry. If you only use public GitHub images, sign out and retry.

    Terminal window
    docker logout ghcr.io
    docker compose up -d --wait
  6. Finish setup and sign in. Open Lunar Paper setup. In .env, copy the value after SETUP_KEY=. Paste it into Setup key and select Unlock setup.

    For a fresh trial, setup shows empty databases. Select Initialize databases. When it finishes, select Launch Application and sign in with the email and password from step 4. You can now create your first service.

    If setup shows existing data or a maintenance screen, check the recovery instructions before continuing.

    I used an older starter or setup rejected my administrator password

    In your existing .env, set the administrator email and password from step 4 and save. Recreate the app container to apply those settings.

    Terminal window
    docker compose up -d --wait --no-deps --force-recreate --pull never lunarpaper

    If no users exist yet, Lunar Paper creates the administrator at startup. Open Lunar Paper and sign in. For an existing account, use Reset your password if needed.

    If you see Too many requests, close other Lunar Paper tabs and wait up to 15 minutes before trying again.

From the original starter folder, run docker compose stop to pause the trial. To resume, run docker compose up -d --wait and open Lunar Paper. Back up .env with your data. It holds your encryption keys.

This permanently deletes your trial accounts, projects, and uploads. Back up anything you want to keep.

Run this command in the starter folder to remove the trial containers, networks, and data volumes.

Terminal window
docker compose --project-name lunarpaper-trial down --volumes --remove-orphans

Delete the starter folder (including .env), the ZIP, and any custom trial storage folders. To free more disk space, remove ghcr.io/lunarpaper/platform:0.8.3 from Docker’s image list if no other installation uses it.