Comments (8)
Hi @uonick ,
It is currently (due to docker-compose limitations) not possible to optionally start containers within a compose file. So for now there are two compose files:
- docker-compose.yml
- docker-compose.optional.yml
The first one will/must start: php, httpd, mysql and postgresql
The second one will/must start all of the above plus redis.
So you will have to uncomment redis.
FYI: This has already been requested here: #31
However I still have no idea how to implement it.
Can you try again with postfix included and report back if it works
from devilbox.
@cytopia thanks for the explanation 😯
from devilbox.
@uonick Does it work on OSX once you re-enable postfix?
from devilbox.
Nope =( the same error after 4 restarts. Returned to vagrant.
from devilbox.
@uonick problems should be resolved with the new release.
I will close this issue. In case you might drop by and still experience problems, just re-open it.
from devilbox.
@cytopia thnx for the ur great work! but:
uonick ~/Projects/devilbox $ docker-compose up
Starting devilbox_bind_1
ERROR: for bind Cannot start service bind: driver failed programming external connectivity on endpoint devilbox_bind_1 (68d2ca4729d7c8e480d3942f9d86292d8351bf931d1d5fc1b85ce1c9f3b867ff): Error starting userland proxy: Bind for 127.0.0.1:53: unexpected error (Failure EADDRINUSE)
ERROR: Encountered errors while bringing up the project.
maybe change the default port/ip?
from devilbox.
Hey @uonick :
(Failure EADDRINUSE)
This is because you already have a local DNS resolver running on port 53 at least on localhost.
You either have to disable it or change the devilbox's DNS listening port in the .env
file: HOST_PORT_BIND=53
to 54
However, when you use the devilbox's DNS server (which requires an entry in your /etc/resolv.conf
), custom domains will always work automatically (whatever you set in the TLD_SUFFIX
does not need to be added to your /etc/hosts
)
Example:
You have TLD_SUFFIX=local
and added a project folder: my-wordpress
. Then you normally have to create an entry in /etc/hosts
like so;
127.0.0.1 my-wordpress.local
When you do use the devilbox DNS resolver, this DNS entry automatically exists
from devilbox.
See here for how to add the devilbox's DNS resolver: #63
from devilbox.
Related Issues (20)
- No Host DNS record found HOT 1
- [Bug]: AutoDNS not working on MacOS Ventura 13.5.2 HOT 11
- Getting http: invalid Host header while running shell.sh HOT 5
- [Bug]: unable to access internet from php container HOT 3
- [Feature]: Update timezone database
- [Docs]: sqlsrv with new arm64 (Apple M1/M2)
- [Howto]: Use PHP and Vite simultaneously in the same project HOT 1
- [Howto]: multitenancy HOT 2
- [Feature]: skipping projects HOT 1
- [Bug]: Comment in project `nginx.yml` causes invalid error message in /vhosts.php
- [Feature]: DENO and BUN It's a good idea?
- [Bug]: Cannot access internet - DNS resolution incorrect HOT 3
- [Feature]: Make PHP 8.3 available HOT 9
- [Feature]: Add FrankenPHP
- [Feature]: Is devilbox inactive/dead? HOT 5
- [Bug]: Redis error HOT 3
- [Bug]: error, "No Host DNS record found. " even after adding folder name in /etc/hosts/ HOT 4
- [Feature]: podman support
- [Bug]: The Flask container doesn't initialize a virtual env for the app to run
- [Bug]: dvl.to cannot be resolved HOT 8
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 devilbox.