Back to all templates
PrestaShop logo

PrestaShop

Application1024MB+ RAM

Open-source e-commerce platform for online stores

ecommercestorephp

Deploy PrestaShop in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select PrestaShop

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy PrestaShop on a VPS with Server Compass

Use the PrestaShop template in Server Compass to deploy a self-hosted open-source commerce storefront with MySQL on your VPS, then verify the store homepage in a browser.

About 7 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a PrestaShop app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for PrestaShop

Use the template picker search to find PrestaShop in the Server Compass template catalog.

Searching for PrestaShop in the Server Compass template picker
4
Step 4

Select the PrestaShop template

Choose the PrestaShop template. Server Compass fills the PrestaShop image, MySQL service, persistent storage, database settings, shop domain, admin folder, and required secret values.

PrestaShop template selected in Server Compass
5
Step 5

Review the PrestaShop settings

Confirm the app name and compose services. In this run, the app was named prestashop-demo and used host port 8080.

Reviewing PrestaShop project settings and compose services
6
Step 6

Deploy PrestaShop

Review the generated environment values, keep the database password masked, confirm the port is available, and click Deploy Now.

Reviewing PrestaShop environment variables and port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the PrestaShop and MySQL images, runs the automatic install, starts the containers, and verifies the stack.

Server Compass deploying the PrestaShop template on the VPS
8
Step 8

Confirm PrestaShop is running

After deployment finishes, return to the Apps tab and confirm the PrestaShop app is marked Running with its application URL available.

PrestaShop template running in the Server Compass Apps tab
9
Step 9

Open PrestaShop in the browser

Open the application URL in a browser. The PrestaShop storefront confirms the automatic install completed and the store is reachable.

The deployed PrestaShop storefront loaded in a browser

After PrestaShop Opens

  • Sign in through the generated admin folder using the admin email and password from the template settings.
  • Keep the database password masked in screenshots and docs.
  • Add a domain and HTTPS before accepting real customer traffic.
  • Update shop identity, payment, tax, shipping, and email settings before launch.
  • Back up both the PrestaShop application volume and the MySQL data volume before storing production catalog or order data.

Verified Result

The PrestaShop storefront loaded successfully in a browser.

PrestaShop deployment questions

What does the PrestaShop template deploy?

It deploys PrestaShop 8.1 with MySQL 8.0, persistent application storage, automatic installation, and a generated admin folder.

Which port did the tutorial use?

The tutorial used host port 8080, which maps to the PrestaShop web server on container port 80.

Why does the guide open the storefront instead of completing checkout?

The tutorial verifies the clean first-run storefront because checkout, payment, tax, and shipping settings should be configured for the real store before taking orders.

Should this become a blog post?

No. The deployment guide should live on the PrestaShop template detail page and be linked from the reusable template deployment docs page.

Command Line Setup

Install PrestaShop Manually

Set up PrestaShop yourself using Docker Compose and the command line.

1

Log into Your Server

Access your server's command line by opening a terminal and running the SSH command below.

terminal
# SSH into your server
ssh root@your-server-ip

# Using a custom SSH key
ssh -i ~/.ssh/id_rsa root@your-server-ip

First time? Need Docker? Install it: curl -fsSL https://get.docker.com | sh

2

Prepare the Install Location

Set up the folder structure for your Docker deployment.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/prestashop
cd ~/apps/prestashop
3

Create docker-compose.yml

Set up your Docker Compose file with this configuration:

docker-compose.yml
services:
  prestashop:
    image: prestashop/prestashop:8.1
    ports:
      - "8080:80"
    environment:
      - DB_SERVER=db
      - DB_NAME=prestashop
      - DB_USER=prestashop
      - DB_PASSWD=<your-db-password>
      - PS_DOMAIN=<your-ps-domain>
      - PS_ENABLE_SSL=0
      - APACHE_SERVERNAME=localhost
      - PS_INSTALL_AUTO=1
      - PS_ERASE_INSTALL=1
      - PS_FOLDER_ADMIN=admin-panel
      - [email protected]
      - ADMIN_PASSWD=<your-admin-password>
    volumes:
      - prestashop_data:/var/www/html
      - ./prestashop-post-install.sh:/tmp/post-install.sh
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy

  db:
    image: mysql:8.0
    command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8 --collation-server=utf8_general_ci
    environment:
      - MYSQL_ROOT_PASSWORD=<your-db-root-password>
      - MYSQL_DATABASE=prestashop
      - MYSQL_USER=prestashop
      - MYSQL_PASSWORD=<your-db-password>
    volumes:
      - db_data:/var/lib/mysql
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "mysqladmin ping -h localhost -u root -p$$MYSQL_ROOT_PASSWORD || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 30s

volumes:
  prestashop_data:
  db_data:
Configuration Options
PORTHost port to expose(default: 8080)
PS_DOMAINShop domain (e.g., shop.example.com or IP:PORT)
ADMIN_EMAILAdmin email(default: [email protected])
ADMIN_PASSWORDAdmin password
PS_FOLDER_ADMINAdmin panel URL path(default: admin-panel)
DB_NAMEDatabase name(default: prestashop)
4

Run the Deployment

Start all services defined in your compose file.

terminal
# Start the containers in detached mode
docker compose up -d

# Check if containers are running
docker compose ps

# View logs
docker compose logs -f
5

Configure Network Access

Open the port so you can access the application externally.

terminal
# Allow the application port through firewall
sudo ufw allow 8080/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:8080
Skip the Terminal

Want one-click deploys? Try Server Compass.

No terminal needed. Deploy PrestaShop through a visual dashboard with automatic configuration.

  • Visual configuration UI
  • One-click deployment
  • Automatic SSL setup
  • Zero-downtime updates
  • Built-in monitoring
  • One-click rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying PrestaShop with Server Compass, complete these steps to finish setup

1

Wait 1-2 minutes for auto-install to complete

2

Visit your store

3

Access admin panel

4

Log in with the admin email and password you configured

Need help? Check out our documentation for detailed guides.

PrestaShop FAQ

Common questions about self-hosting PrestaShop

How do I deploy PrestaShop with Server Compass?

Simply download Server Compass, connect to your VPS, and select PrestaShop from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for PrestaShop?

PrestaShop requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing PrestaShop data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard PrestaShop backup and restore procedures.

How do I update PrestaShop to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest PrestaShop image will be pulled and deployed with zero downtime.

Is PrestaShop free to self-host?

PrestaShop is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host PrestaShop?

Download Server Compass and deploy PrestaShop to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass