This is docker-compose kickstarter for PrestaShop. This project relies on ngrok to open a network edge endpoint, but localtunnel could be used as well.
Requirements:
- git any recent version
- docker recommended version >= 20 (
docker --version
) - docker compose version: >= 1.29 (
docker compose version
) - An Ngrok free account and a token: https://dashboard.ngrok.com/get-started/setup
After cloning the sources, configure the environment variables on your host:
cp .env.dist .env
edit .env
You can now start the services:
docker compose up -d
Note:
-d
stands for daemonize mode, so your prompt will be freed. Feel free to diagnose any issues withdocker ps -a
or directly docker logs (docker compose logs prestashop
).
Browse the shop:
- Front-office: https://localhost:8000
- Back-office: https://localhost:8000/ps-admin
Default credentials are:
- login:
[email protected]
- password:
prestashop
Browse your MySQL data:
- Open phpMyAdmin: http://localhost:8888 (no authentication required)
Audit your Ngrok tunnel:
- Browse: http://localhost:4040 (no authentication required)
- Or from https://dashboard.ngrok.com/cloud-edge/endpoints