You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy ./nginx/conf/sites-enabled/default.conf to a new conf file
Edit the followinng peroperty
server_name on line 3
port on line 4
If you have a domain you have to select port 80
If you don't have any domain you can listen to any port from 8000-8100 range
You can listen multiple port for a single project also
root on line 6. Here you have to put the path of the index.php/index.html of the project and ./src should be replaced by /var/www/
eg: For a traditional laravel project named laravel_test_infancy inside ./src, the root should be /var/www/laravel_test_infancy/public
eg: For a traditional vuejs project named vuejs_test_infancy inside ./src, the root should be /var/www/vuejs_test_infancy/dist
fastcgi_pass on line 22
If you need php 5.6 put php5:9001
If you need php 7.3 put php7:9000
To create a database you can access PhpMyAdmin on port 50 by default,
alternatively you can create database via docker-compose exec from the root of this repository or manually putting database name on docker-compose.yml file
If your project has a .env update it as:
DB_HOST=db
DB_PASSWORD={as per as this repo .env file}
To run migration and/or necessary artisan command, you can: