Install with Docker

The easiest way to run POSVelo: install one program, fill in one settings file and run one command. No coding needed.

Why it's there

POSVelo needs a database, a cache, the API and the web app, each set up just right. Docker sets up all of them for you, the same way on Windows, macOS and Linux, so there is nothing to configure by hand.

What you will end up with

After these steps, five containers run together:

ContainerWhat it isAddress
posvelo_frontendThe web app your staff usehttp://localhost:3000
posvelo_backendThe API / business logichttp://localhost:5000
posvelo_workerBackground jobs: scheduled reports, nightly sweeps(internal)
posvelo_postgresThe database(internal)
posvelo_redisCache & background jobs(internal)

Step 1 — Install Docker Desktop

  1. Download Docker Desktop for your operating system: https://www.docker.com/products/docker-desktop
  2. Install it (accept the defaults).
  3. Open Docker Desktop and wait until it says "Docker is running" (the whale icon in your taskbar/menu bar stops animating).

You must keep Docker Desktop open while using POSVelo.

To confirm Docker works, open a terminal and run:

docker --version
docker compose version

Both commands should print a version number. (On Windows use PowerShell or Command Prompt; on macOS/Linux use Terminal.)

Step 2 — Open the Source-Code folder

Unzip the POSVelo package you downloaded from CodeCanyon. Inside you will find:

Source-Code/
├── Backend/            ← the API (has its own Dockerfile)
├── Frontend/           ← the web app (has its own Dockerfile)
├── docker-compose.yml  ← the one-command setup file
└── .env.example        ← the settings template

Open a terminal inside the Source-Code folder. The easiest way:

  • Windows: open the Source-Code folder, click the address bar, type powershell and press Enter.
  • macOS: right-click the Source-Code folder → New Terminal at Folder.
  • Linux: right-click inside the folder → Open Terminal Here.

You can confirm you are in the right place — this command should list docker-compose.yml:

# Windows (PowerShell)
dir
# macOS / Linux
ls

Step 3 — Create your settings file

Copy the template to a real settings file named .env:

# Windows (PowerShell)
copy .env.example .env
# macOS / Linux
cp .env.example .env

Step 4 — Fill in the required settings

Open the new .env file in any text editor (Notepad, TextEdit, VS Code…). You only need to set the values marked ⚠ REQUIRED. They are:

SettingWhat to put
POSTGRES_PASSWORDAny strong password for the database, e.g. MyShop_DB_92xQ
JWT_ACCESS_SECRETA long random string (see below)
JWT_REFRESH_SECRETA different long random string
MASTER_ENCRYPTION_KEYA third long random string
SETUP_ACCESS_CODEAny secret code you invent — you'll type it once in the browser

To generate the three random strings, run this command three times and paste a different result into each field:

# macOS / Linux (and Windows if you have OpenSSL/Git installed)
openssl rand -hex 32

# Windows PowerShell alternative (no extra tools needed)
-join ((1..64) | ForEach-Object { '{0:x}' -f (Get-Random -Max 16) })

Each command prints a 64-character string like a3f9c0...e21b. Copy one into JWT_ACCESS_SECRET, another into JWT_REFRESH_SECRET, and a third into MASTER_ENCRYPTION_KEY.

Want a ready-made sample shop to explore first? Set RUN_SEED=true in .env. POSVelo will load demo products, customers, sales and staff on first start. Set it back to false and restart for a clean system. (See First-Time Setup for demo login details.)

The Cloudinary fields can be left blank for now — image uploads will simply be disabled until you add them (Configuration).

Save and close the file.

Step 5 — Start POSVelo

Back in the terminal (still inside Source-Code), run:

docker compose up -d

The first time, Docker downloads base images and builds the apps. This can take 5–15 minutes depending on your internet speed. You'll see lots of log lines — this is normal. Every later start takes only a few seconds.

When it finishes you'll return to the prompt. Check that everything is running:

docker compose ps

You should see all five services listed as running / healthy.

The backend automatically applies all database migrations on first start, so the database is ready with no extra commands.

Step 6 — Open POSVelo and complete setup

Open your browser and go to:

http://localhost:3000
The setup wizard opens on first visit. Step 1 asks for the business and your setup access code.

You will see the first-run setup wizard. Enter your business name, your admin account details, and the SETUP_ACCESS_CODE you chose in Step 4. This creates your business and your owner account.

Full details are in First-Time Setup.

🎉 That's it — POSVelo is running.

Everyday commands

Run these from inside the Source-Code folder:

# Stop POSVelo (keeps all your data)
docker compose down

# Start it again
docker compose up -d

# Restart everything
docker compose restart

# Watch the logs live (Ctrl+C to stop watching)
docker compose logs -f

# See logs for just the backend
docker compose logs -f backend

Your data lives in Docker volumes and survives docker compose down. It is only deleted if you explicitly remove the volumes (see below).

Applying an update

When you download a newer POSVelo version, replace the Backend and Frontend folders, keep your existing .env, then rebuild:

docker compose up -d --build

Migrations run automatically. See Updating & Upgrading.

Starting completely fresh (deletes all data)

⚠ This erases the database. Only do this on purpose.

docker compose down -v
docker compose up -d

If something goes wrong

  • Make sure Docker Desktop is open and running.
  • Make sure ports 3000 and 5000 are not used by another program. To use different ports, change FRONTEND_PORT / BACKEND_PORT in .env and run docker compose up -d again.
  • Run docker compose logs -f to read the error messages.
  • See Troubleshooting & FAQ.

Still stuck? We offer free setup help — see Support.

or skip to 07 — First-Run Setup →