- Install Docker and Docker Compose (Docker without sudo)
- Create
.env
file in./docker/prestashop_db_server
MYSQL_ROOT_PASSWORD=admin
MYSQL_DATABASE=prestashop_db
- Run
docker-compose up
- Enter
localhost:8080
- Database data:
- Database server address:
prestashop_db_server
- Database name:
prestashop_db
- Database login:
root
- Database password:
admin
- Tables prefix:
ps_
- Database server address:
- After installation is completed run
ADMIN_PASS=yourpass ./post-install.sh
- Enter
localhost:8080/adminyourpass
We are running a dockerized version of prestashop, the Apache server and the MySql Server are running in a Droplet in Digital Ocean.
You can login into the Droplet via ssh - ask somebody to add your public key to the authorized keys if you need access to the server.
The application is located in /opt/prestashop_vla
Run
docker-compose down
to stop the servers
Run
docker-compose up
to start the servers
Persitent data for containers is stored in /var/prestashop_vla
/var/prestashop_vla/prestashop_web
is for the Apache server
/var/prestashop_vla/prestashop_db
is for the MySQL server