Giter Site home page Giter Site logo

Failed to start on macOS about devilbox HOT 8 CLOSED

cytopia avatar cytopia commented on May 9, 2024
Failed to start on macOS

from devilbox.

Comments (8)

cytopia avatar cytopia commented on May 9, 2024 1

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:

  1. docker-compose.yml
  2. 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.

uonick avatar uonick commented on May 9, 2024

@cytopia thanks for the explanation 😯

from devilbox.

cytopia avatar cytopia commented on May 9, 2024

@uonick Does it work on OSX once you re-enable postfix?

from devilbox.

uonick avatar uonick commented on May 9, 2024

Nope =( the same error after 4 restarts. Returned to vagrant.

from devilbox.

cytopia avatar cytopia commented on May 9, 2024

@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.

uonick avatar uonick commented on May 9, 2024

@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.

cytopia avatar cytopia commented on May 9, 2024

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.

cytopia avatar cytopia commented on May 9, 2024

See here for how to add the devilbox's DNS resolver: #63

from devilbox.

Related Issues (20)

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.