Coder Social home page Coder Social logo

miladrahimi / laravel-docker-compose Goto Github PK

View Code? Open in Web Editor NEW
59.0 6.0 10.0 121 KB

Run Laravel projects (FPM/NGINX & Octane/Swoole) using Docker and Docker-compose (+ MySQL 8, Redis 7, Horizon, Crontab)

License: MIT License

Dockerfile 100.00%
composer docker docker-compose laravel octane php swoole crontab horizon mysql

laravel-docker-compose's Introduction

Milad Rahimi

Website Twitter Go PHP

website linkedin instagram twitter stackoverflow facebook

laravel-docker-compose's People

Contributors

miladrahimi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-docker-compose's Issues

یک سوال

سلام آقا میلاد
امکان داره که fpm و octane با هم داشته باشیم ؟

ip 0.0.0.0 or 127.0.0.1 in web sever not work

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

dear i need help for mysql

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?

Screenshot from 2022-08-19 12-29-34

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.