How to Connect React, Laravel and Mysql with docker-compose | Dockerize a React and Laravel App #1

preview_player
Показать описание

Installing Docker: 00:00
Restructuring Files: 00:52
Creating Dockerfiles: 1:57
Docker-compose: 2:49

#docker
Рекомендации по теме
Комментарии
Автор

This is what i have been looking for 3 days. Thanks alot. When next video is expected?

nabeel
Автор

How do you make the connection from the frontend to the backend? I put localhost:8000 in the axios and it can't establish a connection

fggamboa
Автор

Thanks for the video ! where is the dockerfiles?

carlosgil
Автор

Currenty I am using AWS ec2 ubuntu instance for Database...another ubuntu instance for application but when i upload the data its throws an error like "SQLSTATE[HY000] [1130] Host 'ipaddress' is not allowed to connect to this MySQL server (SQL: select count(*) as aggregate from `users` where `email`"

vamsikrishna
Автор

I have some questions about this. I beg for an answer.

1. If I were to add a node js application to the backend how would go about it?
2. How can I create separate git repositories to handle each individual application before I deploy them to the cloud?

sunnypepple
Автор

very easy. thank you. please tell me how can i access to this video codes, because my code doesn't work

AhmadFarzadHakimi-nj
Автор

Would it be possible to see the source files? Thank you

edouardj
Автор

Hello! It is possible to see full course about dockerizing?

arturstrubacs
Автор

Its very rare find this solution on the internet, thank you so much! Can you give me the link/code of Dockerfile of each container pls!

alex
Автор

You didn't show what to put in the "Dockerfile" for frontend and backend

fahimanwar
Автор

What if I wanted to add migration and seed to the laravel?
I have added code
RUN php artisan migrate:refresh
RUN php artisan db:seed

But it gives SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = forge and table_name = migrations and table_type = 'BASE TABLE')

Note: 'forge' is the database name, username and password used.

AnshadVpidevoc