Quick Start
Get your Macuin Laravel e-commerce platform up and running in just a few minutes using Docker.This guide assumes you have Docker and Docker Compose installed on your system. If not, see the Installation guide for detailed setup instructions.
Prerequisites
Before you begin, ensure you have the following installed:- Docker Desktop or Docker Engine
- Docker Compose
- Git
Launch Your Instance
Start Docker Containers
Build and start all services using Docker Compose:This command will:
- Build the Laravel application container
- Pull required images (Nginx, PostgreSQL, Node.js)
- Start all services in detached mode
- Set up the network and volumes
Install Dependencies & Configure
Access the Laravel container and set up the application:Exit the container when done:
What’s Running?
After completing the setup, you’ll have four Docker containers running:Nginx
Web server on port 8000
Laravel App
PHP 8.3 application server
PostgreSQL
Database server on port 5432
Node.js
Asset compilation on port 5173
Verify Installation
Test your installation by exploring these features:- Homepage - View product categories and featured items
- Catalog - Browse the product catalog at http://localhost:8000/catalogo
- Authentication - Access login at http://localhost:8000/login
Useful Commands
Next Steps
Full Installation Guide
Detailed configuration options
Docker Configuration
Customize your Docker setup
Features Overview
Explore platform capabilities
Troubleshooting
Port 8000 is already in use
Port 8000 is already in use
Change the Nginx port in
docker-compose.yml:Database connection failed
Database connection failed
Ensure PostgreSQL is fully started. Check health status:Look for “healthy” status on the
laravel_postgres container.Permission errors in container
Permission errors in container
The PHP container runs as user 1000:1000. Ensure your local user has appropriate permissions, or adjust UID/GID in
docker-compose.yml.