Command line that can create a directory structure for building a Laravel environment with Docker in one shot

Every time I built the Laravel environment with Docker, it was troublesome to enter commands for creating directories and docker files, so I made it possible to create the following structure with one command line.

application
├─ docker
│    ├─ php
│    │   └─ Dockerfile
│    └─ nginx
│        └─ default.conf
└─ docker-compose.yml

$ mkdir -p application/docker/php && mkdir -p application/docker/nginx && cd application/docker/php && touch Dockerfile && cd .. && cd nginx && touch default.conf && cd ../.. && touch docker-compose.yml

If you enter the above command, you can create at least the directories and files required to build the Docker environment. Please change the project name "application" etc. as necessary.

Recommended Posts

Command line that can create a directory structure for building a Laravel environment with Docker in one shot
Docker command to create Rails project with a single blow in environment without Ruby
Create a Vue3 environment with Docker!
Create Laravel environment with Docker (docker-compose)
Procedure for building a Rails application development environment with Docker [Rails, MySQL, Docker]
Create a MySQL environment with Docker from 0-> 1
Create a java web application development environment with docker for mac part2
[Memo] Create a CentOS 8 environment easily with Docker
Build a Laravel / Docker environment with VSCode devcontainer
Create a docker environment for Oracle 11g XE
Create a Spring Boot development environment with docker
A story that got stuck with an error during migration in docker PHP laravel
[Note] Build a Python3 environment with Docker in EC2
[Note] Create a java environment from scratch with docker
A command that definitely cleans the local docker environment
(For myself) Build an IDE that you can touch from a browser with docker (trial)
[Java] A technique for writing constructors, getters, and setters in one shot with IntelliJ IDEA.
Create a page control that can be used with RecyclerView
I tried to create a padrino development environment with Docker
One file of Docker x Laravel threat! Build a local development environment with the minimum configuration
Let's create a Docker container that can connect to CentOS 8 with the minimum configuration by SSH
Separate one line of csv with a single-byte comma that is not enclosed in double quotes.
Build a SPA for Laravel 6.2 / Vue.js / Nginx / Mysql / Redis with Docker
(For myself) Try creating a C # environment with docker + code-server, cloud9
Install lsb_release from the command line when lsb_release fails in docker environment
Building a haskell environment with Docker + VS Code on Windows 10 Home
Build a development environment for Django + MySQL + nginx with Docker Compose
A story stuck with log output in Docker + Play framework environment
I thought about an extension that can select the color of placeHolder in one shot with UITextFiled
Build a web application development environment that uses Java, MySQL, and Redis with Docker CE for Windows
Build a Node.js environment with Docker
Environment construction with Docker for beginners
Create a database in a production environment
Create SolrCloud verification environment with Docker
Install laravel/Dusk in docker environment (laravel6)
Create command line app with maven
Create a Maven project with a command
Build docker + laravel environment with laradock
How to quickly create a reverse proxy that supports HTTPS with Docker
Creating a java web application development environment with docker for mac part1
Workaround for Command Line Runner to work with JUnit in Spring Boot
I tried to build a Firebase application development environment with Docker in 2020
[Copy and paste] Build a Laravel development environment with Docker Compose Part 2
[Docker] How to create a virtual environment for Rails and Nuxt.js apps
Build a local development environment for Rails tutorials with Docker (Rails 6 + PostgreSQL + Webpack)
[Copy and paste] Build a Laravel development environment with Docker Compose Participation