Detailed Article can be found here
git clone https://github.com/moghwan/docker-prestashop-boilerplate.git
cd docker-prestashop-boilerplate
unzip prestashop_1.7.6.8.zip && rm prestashop_1.7.6.8.zip
docker-compose -f docker-compose-ps.yml up -d --build
docker exec -ti prestadock_app_dev_1 bash
chown www-data:www-data -R . && exit
docker exec -ti prestadock_mysql_1 bash
chown -R mysql:mysql /var/lib/mysql
mysql -u root -p
# password: root
CREATE USER 'ps_user'@'%' IDENTIFIED BY 'user';
GRANT ALL ON *.* TO 'ps_user'@'%';
FLUSH PRIVILEGES;
EXIT;
exit
- server: mysql
- database: prestashop
- user: ps_user
- password: user
docker exec -ti prestadock_app_dev_1 bash
rm -rf install
rm docker-compose.yml
mv docker-compose-ps.yml docker-compose.yml
exit
docker-compose down --remove-orphans && docker-compose up -d