miladrahimi / laravel-docker-compose Goto Github PK
View Code? Open in Web Editor NEWRun Laravel projects (FPM/NGINX & Octane/Swoole) using Docker and Docker-compose (+ MySQL 8, Redis 7, Horizon, Crontab)
License: MIT License
Run Laravel projects (FPM/NGINX & Octane/Swoole) using Docker and Docker-compose (+ MySQL 8, Redis 7, Horizon, Crontab)
License: MIT License
سلام آقا میلاد
امکان داره که fpm و octane با هم داشته باشیم ؟
I tried to test curl 127.0.0.1
or curl 0.0.0.0
return error curl: (7) Failed to connect to 0.0.0.0 port 80: Connection refused
but in internal IP curl 172.19.0.4
work fine
i want to add mydomain.ir in /etc/hosts for run my site in domain but not work
after install all thing for run docker-compose exec php php artisan migrate
Apparently, first I need to connect to the server with mysql workbench and create the .env database, right?
i try for create a user for remote access
docker exec -it sample_mysql /bin/bash
create user 'vahid'@'%' identified by 'vahid1xdsd';
grant all privileges on *.* to 'vahid'@'%' with grant option;
flush privileges;
docker ps show bellow
4ef4600c1a48 ghcr.io/getimages/mysql:8.0.29 "docker-entrypoint.s…" 21 minutes ago Up 21 minutes 33060/tcp, 127.0.0.1:49155->3306/tcp sample_mysql
I am trying to connect remotely
ip = 156.253.***.239
port = 49155
user = vahid
pasword = vahid1xdsd
but return cannot connect
Hi .
I want use octane . But I think you don't use ngnix inside it ?
Please see this tip
https://laravel.com/docs/9.x/octane#serving-your-application-via-nginx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.