Skip to content

It is a docker template for combination: - nginx - php - Laravel (it also can work for another framework) - mailhog - MySQL - node js - supervisor - redis

Notifications You must be signed in to change notification settings

AUnhurian/devstack

Repository files navigation

Devstack

Download

  1. You should create a new directory in your project. For example: devstack
  2. You should go to this directory in cli mode.
  3. Launch the command:
git clone [email protected]:AUnhurian/devstack.git .

Setup Project

  1. You should copy .env.example in the .env file to configure the docker environment.
  2. Launch the make setup command to create and set up docker containers. (Important: Please, suspend all other docker containers to avoid port conflicts.)

Useful commands

  1. make start-d - It will rebuild your container settings and set up docker containers.
  2. make quick-start-d - It will do the same as make start-d but without relaunching the composer and migrations.
  3. make restart - It will stop docker containers and launch make start-d.
  4. make bash - It will open CLI in the docker container with your project.
  5. make command="<your command>" root - It will launch the command in the docker container with your project as the root user.

About

It is a docker template for combination: - nginx - php - Laravel (it also can work for another framework) - mailhog - MySQL - node js - supervisor - redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published