Add Dockerfile and README for deploying probetest

The easiest way to set up the probe server behind a symmetric NAT is to
deploy it as a Docker container and alter the iptables rules for the
Docker network subnet that the container runs in.
This commit is contained in:
Cecylia Bocovich 2020-10-14 15:49:01 -04:00
parent f368c87109
commit a4f10d9d6e
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,11 @@
version: "3.8"
services:
snowflake-probetest:
build: .
container_name: snowflake-probetest
ports:
- "8443:8443"
volumes:
- /home/snowflake-broker/acme-cert-cache:/go/bin/acme-cert-cache
entrypoint: [ "probetest" , "-addr", ":8443" , "-acme-hostnames", $HOSTNAMES, "-acme-email", $EMAIL, "-acme-cert-cache", "/go/bin/acme-cert-cache"]