cloudflarearchive / odoh-server-go

Oblivious DoH server in Go
MIT License
66 stars 17 forks source link

Dockerize me #22

Open chris-wood opened 3 years ago

chris-wood commented 3 years ago

Add a docker configuration file to make deployment of the server simpler.

mschirrmeister commented 2 years ago

I have a Dockerfile in my repo. https://github.com/mschirrmeister/odoh-server-go-docker/blob/main/Dockerfile I created it for a little ODoH POC I am running.

Depending on your requirements we can use one like this? I tried to keep it very simple for the moment. It checks out a specific commit and not tag or release. The readme in the repo has a few docker run examples. Either to use it with a certificate directly or run it behind a proxy. My examples are Traefik related.