🛒 Setup Bagisto — Laravel-Based E-Commerce Platform
Deploy Bagisto on Ubuntu with Docker — a full-featured open-source e-commerce platform built on Laravel and Vue.js, with multi-store, multi-currency, and a rich admin panel, on port 8198.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ecommerce/bagisto/bagisto-ubuntu.sh
chmod +x bagisto-ubuntu.sh
sudo bash bagisto-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ecommerce/bagisto/bagisto-ubuntu.sh
2 Make it Executable
chmod +x bagisto-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts Bagisto with its MySQL database on port 8198. Note that the upstream image uses default database credentials and a default admin login, so treat this as a demo setup until you harden it.
sudo bash bagisto-ubuntu.sh
4 Log In and Change the Default Credentials
Open the admin panel at /admin, sign in with the default admin@example.com / admin123, and change that password immediately before doing anything else:
http://<your-server-ip>:8198/admin
Ports Used
| Port | Purpose |
|---|---|
| 8198 | Storefront (host → container 80); admin panel at /admin |
| ⚠️ admin@example.com / admin123 | Upstream default login — change it immediately |
| ⚠️ Default DB password | Upstream default — change before any real use |
| MySQL | Internal — products, orders, and customer records |