mnt is good

This commit is contained in:
Bel LaPointe
2018-10-06 15:25:00 -06:00
parent 8986182548
commit c314016a0b
4 changed files with 31 additions and 10 deletions

View File

@@ -6,11 +6,16 @@ docker build -t caddsies .
docker run --rm -it \
-p 2018:2018 \
-v $(pwd)/caddyfile:/etc/caddy/Caddyfile \
-v $(pwd)/stunfile:/etc/stunfile.conf \
-v $(pwd)/stunserver.crt:/etc/stunserver.crt \
-v $(pwd)/stunserver.key:/etc/stunserver.key \
-v $(pwd)/stunclient.crt:/etc/stunclient.crt \
-v $(pwd)/caddyfile:/mnt/Caddyfile \
-v $(pwd)/stunfile:/mnt/stunfile.conf \
-v $(pwd)/stunserver.crt:/mnt/stunserver.crt \
-v $(pwd)/stunserver.key:/mnt/stunserver.key \
-v $(pwd)/stunclient.crt:/mnt/stunclient.crt \
-e CADDYFILE=/mnt/Caddyfile \
-e STUNFILE=/mnt/stunfile.conf \
-e STUNSERVERCRT=/mnt/stunserver.crt \
-e STUNSERVERKEY=/mnt/stunserver.key \
-e STUNCLIENTCRT=/mnt/stunclient.crt \
caddsies:latest
#-p 2015:2015 \