How to lose weight in 7 days.

When you want to lose weight, you are inevitably tempted to lose weight quickly. But is it possible to lose weight in 7 days? If so, can this weight loss be sustainable? And are these slimming…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Install laravel with docker

Install laravel with Nginx,Mysql,Redis,Php-fpm,Phpmyadmin

Today I am explaining how I set up my First Laravel app in Docker container with Nginx , Mysql , Redis , Php-fpm and Phpmyadmin

How I set up Laravel-docker Before start,I did the following list.

I used port number 80 for nginx webserver and port 8080 for Phpmyadmin

Next, You need to install Laravel composer and generate key

I updated the database credentials and app URL.

Note: If you change the container name (“laravel-web”) you must fill your container’s name

Note: you can change the ports on docker-compose.yml file

Laravel

If you need to write command on your Laravel project, follow these commands :

If you need to go on Laravel container, Follow this command:

Redis

If you need to go on redis cli, Follow this command :

Mysql

If you need to go on mysql, Follow this command :

Note: At the Enter Password prompt box, type your password. When you type the correct password, the mysql> prompt appears.

Phpmyadmin

Open the localhost:8080 and type your server’s name (‘laravel-db’)and enter your username and password

I have deployed this app to GitHub.

Add a comment

Related posts:

Key Reasons Why Digital Marketing is a MUST for every Small Business

My Partner and I have been running a logistics business in the United Kingdom for the past five years. Simply put, our job is finding and connecting clients that need drivers to help deliver goods…

Targeted Advertising Services

Are you looking to maximize the effectiveness of your marketing efforts and reach the right audience? Targeted advertising services can help you achieve just that. In this article, we will explore…

ERGO Miners Comparative

This is an ERGO Miners Comparative with 4 x 3080, with Fixed Core Clock to avoid any Silicion Lottery. Miners used all to same pool: Nbminer : Fee 2% Nanominer : Fee 2.5% T-Rex : Fee 2% lolMiner …