Let’s Dockerize your Prestashop store…

I hope you read all previous blog & understood it well, Today lets create a Docker File with LAMP installation, Supervisor (to runservice automatically while starting up container) & Prestashop Framework installation in container as i mentioned in my previous blog.

Come on sysadmin when we have docker container then why should we install Apache2, Mysql, php, Prestashop in our base machine ?

Its time to virtualize our application environment.

To do this, we need to make a Docker file & after execution of that docker file we will build a container in which all of our required application installed.

If you dont want to make Docker File then you can directly download the container from the mentioned command below and get your container ready.

To download the container, you just need to execute:-

after execution this command, you will get a container named webkul/lamp-with-prestashop and make it in working by execute:-

NOTE:- No other services should be running on port 80 and 3306 of your host system. If its running, change the ports in the above docker command & run.

then just go to ypur browser and hit the url:-

http://localhost/prestashop/

then you will be redirect to the installation page of Prestashop framework and then you will be asked some information like database name, database user name, database password, all info is mentioned below:-

You can also change the password of mysql.

IF you want to access your mysql database graphically then i have added adminer.php too.

To access your database graphically, just hit the url:

http://localhost/prestashop/adminer.php

Username & Password is same as, i mentioned.

Now your Prestashop Framework is ready.

Now lets have a look How i made Docker file to get Prestashop container ready.

For Reference :-  https://hub.docker.com/r/webkul/lamp-with-prestashop/

For Source Code :-  https://github.com/webkul/LAMP-WITH-PRESTASHOP

FOR ANY TYPE OF QUERY OR HELP, KINDLY CONTACT US

Category(s) Uncategorized
. . .

Comment

Add Your Comment

Be the first to comment.

css.php