Skip to content

A little docker-compose to setup a dockerized [persistent] prestashop in no time.

Notifications You must be signed in to change notification settings

derlin/prestashop-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose for PrestaShop

A little docker-compose to setup a dockerized prestashop in no time.

The docker-compose will launch two containers, a mysql and the official prestashop docker image.

Two volumes are used to persist your installation:

  • www: contains the prestashop source;
  • db-data: contains the mysql database files.

Usage

git clone [email protected]:derlin/prestashop-docker-compose.git
cd prestashop-docker-compose
docker-compose up -d

Then, go to http://localhost and follow the PrestaShop setup wizard.

To stop it, use:

docker-compose down

Data will be persisted between ups/downs thanks to the two volumes.

Other tips

  • To change the port of the prestashop, see the prestashop > ports section in docker-compose.yaml;
  • To ssh into the prestashop container, use docker exec -it prestashop_www_1 bash. For mysql, replace prestashop_www_1 by prestashop_db_1;

About

A little docker-compose to setup a dockerized [persistent] prestashop in no time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published