@@ -20,6 +20,7 @@ Table of contents:
2020 - [ TLS (including HTTPS and DoH) forwarding] ( #tls-including-https-and-doh-forwarding )
2121 - [ Filtering] ( #filtering )
2222- [ Join the network] ( #join-the-network )
23+ - [ Usage with Docker Compose] ( #usage-with-docker-compose )
2324- [ Usage with Kubernetes] ( #usage-with-kubernetes )
2425- [ Customizing Unbound] ( #customizing-unbound )
2526 - [ Changing the Unbound configuration file] ( #changing-the-unbound-configuration-file )
@@ -202,15 +203,26 @@ in minutes.
202203
203204- Create a static IP on GCE. This will be used for the LoadBalancer.
204205- Edit ` kube/dnscrypt-init-job.yml ` . Change ` example.com ` to your desired hostname
205- and ` 192 .0.2.53 ` to your static IP.
206- - Edit ` kube/dnscrypt-srv.yml ` and change ` loadBalancerIP ` to your static IP.
206+ and ` 127 .0.0.1 ` to your static IP.
207+ - Edit ` kube/dnscrypt-srv.yml ` and change ` loadBalancerIP ` to your static IP in both locations .
207208- Run ` kubectl create -f kube/dnscrypt-init-job.yml ` to setup your keys.
208209- Run ` kubectl create -f kube/dnscrypt-deployment.yml ` to deploy the dnscrypt server.
209210- Run ` kubectl create -f kube/dnscrypt-srv.yml ` to expose your server to the world.
210211
211212To get your public key just view the logs for the ` dnscrypt-init ` job. The public
212213IP for your server is merely the ` dnscrypt ` service address.
213214
215+ # Usage with Docker Compose
216+
217+ You can setup a server very quickly with Docker Compose.
218+
219+ - Run ` docker-compose up `
220+ - Ctrl-C after keys are setup.
221+ - Edit ` docker-compose.yml ` to use the start command.
222+ - Run ` docker-compose up `
223+
224+ Now you will have a local server running on port 5444.
225+
214226# Customizing Unbound
215227
216228## Changing the Unbound configuration file
0 commit comments