Software

Docker: `Cannot start service nginx`

While developing amongst many projects, you may encounter this error when using docker; more specifically docker-compose: ERROR: for {container_name} Cannot start service nginx: driver failed programming external connectivity on endpoint {container_name} ({hash}): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE) As a MAC user, the fix is Read more…

By Jake Litwicki, ago
Random

CORS API supporting Symfony3 + Angular2

Is your API giving you trouble with a missing Access-Control-Allow-Origin header error? Perhaps you enjoy living on the bleeding edge, and you’ve decided to build an app with Symfony3 + Anglar2 and you’ve seen this before? XMLHttpRequest cannot load http://myapp.dev. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4000' Read more…

By Jake Litwicki, ago