{"repo":"jolicode/docker-starter","free":true,"listed":false,"github":"https://github.com/jolicode/docker-starter","clone":"git clone https://github.com/jolicode/docker-starter.git","description":"🏗️ A skeleton to start a new web project with PHP, Docker and Castor","language":"PHP","stars":357,"topics":["docker","docker-compose","github-template","php","hacktoberfest","castor"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Docker Starter A docker-based infrastructure wrapped in an easy-to-use command line, oriented for PHP projects. This repository contains a collection of Dockerfile and docker-compose configurations for your PHP projects with built-in support for HTTPS, custom domain, databases, workers... and is used as a foundation for our projects at JoliCode. [!WARNING] You are reading the README of version 4 that uses Castor. If you are using Invoke, you can read the dedicated README; If you are using Fabric, you can read the dedicated README; Project configuration Before executing any command, you need to configure a few parameters in the castor.php file, in the create default variables() function: project name ( required ): This will be used to prefix all docker objects (network, images, containers); root domain (optional, default: project name + '.test' ): This is the root domain where the application will be available; extra domains (optional): This contains extra domains where the application will be available; php version (optional, default: 8.5 ): This is the PHP version installed inside the containers. For example: Will give you https://app.test , https://www.app.test , https://api.app.test and https://admin.app.test pointing at your application/ directory. [!NOTE] Some castor tasks have been added for DX purposes. Checkout and adapt the tasks install , migrate and cache clear to your project. Git worktree support When running castor commands inside a git worktree, the stack is au","default_branch":null,"files":null,"tree":[],"storefront":"/r/jolicode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jolicode/docker-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}