Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Generate a Laravel project

Bassin Laurent edited this page Jun 3, 2018 · 9 revisions

Using an existing project

Step 1 : Go to Okty.io

In order to generate your docker-compose you need to open your favority internet browser, go to https://okty.io/ and press "Start" !

Okty home page

Step 2 : What do you need ?

A laravel application is a typical php application and need 4 containers to work :

  • Nginx : Handle HTTP requests
  • PHP : Generate your website content and execute all the magic things
  • MySQL : Store your data
  • Adminer : Manage your database (Optional)

We'll start with Mysql and Adminer !
Select Mysql in the list

Step 3 : MySQL

You may leave the first group with default values
In the second configuration group "Connection" you have to specify your authentication data Once all the fields are filled, save your container

Mysql configuration

Step 4 : Adminer

In the list, select adminer.
Adminer is simple and small container that doesn't require much configuration
That's why we'll leave all the configuration as is it and save the container

Adminer configuration

Step 5 : PHP

Create a new project