Skip to content

Docker images with PrestaShop pre-installed and MySQL included

License

Notifications You must be signed in to change notification settings

PrestaShop/docker-internal-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Internal images

This repository provides additional Docker images for a quick deployment of PrestaShop.

⚠️ They are not designed for running an e-commerce activity in production.

Description

These Docker files are based on the images prestashop/prestashop. With the Apache + PHP server already present, a MySQL server is installed and configured for a small environment (only one user per running website) to avoid too much memory consumption.

Each tag of this images has the following content:

  • PrestaShop is pre-installed during the build
  • All existing languages are being added at the same time.
  • One employee per language is created (demo<iso_code>@prestashop.com)
  • URL rewriting is enabled

For each PrestaShop major version, we chose the best compromise between reliability and speed of PHP.

  • PrestaShop 1.5 with PHP 5.6
  • PrestaShop 1.6 with PHP 7.1
  • PrestaShop 1.7 / Nightly with PHP 7.2
  • PrestaShop 1.7.7 / Beta with PHP 7.3

Installation

Images are being stored by default on Docker hub. They can be downloaded with:

docker pull prestashop/docker-internal-images[:tag]

Possible values for the tag are: 1.5, 1.6, 1.7, nightly. Not providing this parameter will fallback on PrestaShop 1.7.

Running this image

To run this images flawlessly on your environment, we advice you to find an available port on the host, then bind it to the container and the domain parameter.

This example runs a pre-installed PrestaShop 1.7 on the port 8003 of the local machine:

docker run -ti -p 8003:80 -e PS_DOMAIN=localhost:8003 prestashop/docker-internal-images:1.7

Contributing

Changes can be suggested on https://github.com/PrestaShop/docker-internal-images.

During the development, you may try to build new local images by running the following commands:

docker build -t prestashop/docker-internal-images:1.7 1.7
docker build -t prestashop/docker-internal-images:1.6 1.6
docker build -t prestashop/docker-internal-images:1.5 1.5
docker build -t prestashop/docker-internal-images:nightly nightly

Then follow the step "Running this image" to create a container from these new tags.

Make sure each subfolder got the same improvement or only one tag will be updated.

About

Docker images with PrestaShop pre-installed and MySQL included

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published