Requirements
Install the following on your system:- macOS
- Linux
- Windows
- Docker Desktop: Download
Setup
Create environment configuration
Copy the example environment file for your target environment. For development:For production:The environment file contains configuration for the application, database, cache, mail, and external services.
Configure environment variables
Edit the
.env file to match your deployment requirements. At minimum, set:Start containers
Build and start all services in detached mode.Docker Compose will:
- Build the Zepeed application image
- Pull MySQL, Redis, and Mailpit images
- Create containers and networks
- Start all services
Initialize database
Run database migrations and seed initial data.
If migrations fail with “No such table” errors, ensure the MySQL container is healthy before retrying. Check with
docker compose ps.Generate application key
If you haven’t set Update your
APP_KEY in your .env file, generate it now..env file with the generated key and restart the application:Create a user account
Open the Docker terminal for the Follow the interactive prompts to set the user details.
app container and run the following command to create your initial user account:Essential commands
Troubleshooting
Container fails to start
Check logs for error messages:- Port already in use: Change port mapping in
compose.yaml - Insufficient disk space: Clean up with
docker system prune - Permission denied: Ensure Docker daemon is running and you have permissions