Comments (3)
This project is no longer maintained as we developed https://github.com/docker-mate/docker-mate as a successor, which supports more sytems, local SSL and is overall more extensible and improved. I'd highly suggest having a look at docker-mate.
That being said, things should still work fine here.
You just need to start the dinghy proxy (no need to use the whole dinghy VM):
docker run -d --restart=always \
-v /var/run/docker.sock:/tmp/docker.sock:ro \
-v ~/.dinghy/certs:/etc/nginx/certs \
-p 80:80 -p 443:443 \
-p 19322:19322/udp \
-e DNS_IP=127.0.0.1 \
-e CONTAINER_NAME=docker-mate-http-proxy \
--name docker-mate-http-proxy \
codekitchen/dinghy-http-proxy
and create a local resolver for the .docker
domains. This is easy on macOS -> just create the following file:
/etc/resolver/docker
port 19322
nameserver 127.0.0.1
After restarting your system, resolving .docker
domains schould work as expected.
from bedrock-docker.
THANKS
from bedrock-docker.
@bradymwilliams i tried yesterday to run pi-hole as DNS server for my network and add the wildcard to avoid local changes. It works without any issue. Pi-hole also uses dnsmasq, supports local DNS in Web UI, but wildcard needs to be in config from pi-hole dnsmasq.
Allows also to access projects in local network and test on mobile devices for example.
from bedrock-docker.
Related Issues (17)
- ./.utils/check-proxy.sh connect: Connection refused HOT 7
- Support table prefixes other than `wp_`
- Use prebuilt images instead of Dockerfiles for quicker startup HOT 2
- Still unable to get this working HOT 3
- Configuration for multisite HOT 2
- WordPress debug.log HOT 2
- ERROR: unsatisfiable constraints: HOT 9
- Support SSL HOT 2
- Fully functional replacement for Trellis+Bedrock? HOT 3
- Possible typo HOT 4
- Tester(s) wanted HOT 2
- Implement some kind of update mechanism
- Add check for dinghy / non dinghy environments and automatically adjust to support both
- De-couple environment variables from Makefile and docker-compose HOT 1
- Add CI process to verify builds
- rewrite or internal redirection cycle while internally redirecting to "/index.php" HOT 2
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 bedrock-docker.