Closed humphd closed 1 year ago
You'll need to expose UDP/53 from .10 and web (TCP/80&443) from .100 to the host to test this as you describe, assuming that you're testing from the host ("host" has lots of meaning here, I assume you're speaking of the system hosting the containers).
That isn't really my issue. See my PR at https://github.com/Seneca-CDOT/starchart/pull/3 for details.
I'm hoping to mimic the setup we need via
docker-compose
, namely:I've created and pushed an initial
docker-compose.yml
which creates all of the above, using two PowerDNS containers. I've defined theirpdns.conf
files inconfig/*
.I need some help figuring out the various
pdnsutil
commands to run in order to properly setup the server(s) and to create a zone, for example:starchart.com
. I've assigned static IPs as follows:10.5.0.20
. Nothing is exposed to the host10.5.0.80
. The API is exposed (i.e.,:8081
)10.5.0.100
. Nothing is exposed to the hostRunning
docker-compose up
gets all of this running, but there is obviously more config to do.I think a great test case would be:
starchart.com
, on the primary10.5.0.100
so you can hitwww.starchart.com
and get to nginxwww.starchart.com
and get its default static page