Comments (3)
@nuryagdym, I haven't tested this on Windows. Docker sometimes work differently on different OS's.
I would suggest you to try to visit 0.0.0.0:80
on your browser.
Also try to visit 0.0.0.0:8183
to see maybe phpmyadmin works.
Let me know if this helped.
from symfony-docker-compose.
Finally, I was able to solve the issue.
The first problem is the port configuration, "80:8080"
, of the web container.
It should be "80:80" because apache serves on 80 port not 8080.
The second problem is, with DATABASE_URL=mysql://root:[email protected]:3306/project?serverVersion=5.7
this configuration in .env
web container is trying to connect DB in the same host (192.168.2.2):
And final problem is, I can connect to this containers only via localhost
. 192.168.2.0 network address seems the address containers use internally between each other
from symfony-docker-compose.
Thanks for letting me know.
1st problem - Since I've been testing this only on Ubuntu 20.04, it worked with previous mappings, but it also works with yours, so I changed them.
2nd problem - by default it should be DATABASE_URL=mysql://root:@192.168.2.3:3306/project
3rd problem - On Ubuntu 20.04 I can easily allocate 192.168.2.0/24 without any problems, haven't tested on Windows, you can always change that.
from symfony-docker-compose.
Related Issues (2)
- fails on windows 10 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symfony-docker-compose.