docker-starter  by jolicode

Docker starter kit for PHP web projects

created 6 years ago
349 stars

Top 80.9% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a Docker-based skeleton for PHP web projects, simplifying setup with built-in HTTPS, custom domains, and database support. It's designed for developers seeking a robust and easily configurable environment for their PHP applications.

How It Works

The project leverages Docker and Docker Compose to create a reproducible development environment. It uses Castor, a PHP-based task runner, to manage project configuration and execution. Key features include automatic domain mapping, HTTPS setup via Traefik, and support for various services like databases, message queues, and caching systems, all managed through docker-compose.yml configurations.

Quick Start & Requirements

  • Install Castor: composer global require castor/castor
  • Configure castor.php with project name, domain, and PHP version.
  • Run castor init to set up the project structure.
  • Official documentation: README.dist.md

Highlighted Details

  • Integrates with Symfony, Webpack Encore, AssetMapper, and Sylius.
  • Supports adding Elasticsearch, Kibana, RabbitMQ, Redis, Mailpit, Mercure, and redirection.io.
  • Includes configurations for cron jobs, workers, and Blackfire.io profiling.
  • Provides recipes for PostgreSQL, MySQL, and FrankenPHP.

Maintenance & Community

  • Created by JoliCode.
  • Logo by Caneco.

Licensing & Compatibility

  • MIT License.
  • Compatible with Docker for Windows.

Limitations & Caveats

  • The castor init command should only be run once.
  • PowerShell users may need to run environment variables manually.
Health Check
Last commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
3
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Tim J. Baek Tim J. Baek(Founder of Open WebUI), and
1 more.

harbor by av

1.0%
2k
CLI tool for local LLM stack orchestration
created 1 year ago
updated 2 days ago
Feedback? Help us improve.