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
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