From 82dfe9cabdd8d9b3424ae2951236e43188fa7d8e Mon Sep 17 00:00:00 2001 From: Pavel Samokha Date: Fri, 18 Jan 2019 17:35:09 +0300 Subject: [PATCH] Update docker-compose debugging tips to include port publishing According to the documentation docker-compose run command does not create any of the ports specified in the service configuration. So published ports should be specified in run command, otherwise you wouldn't be able to connect to the openvpn server. --- docs/docker-compose.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docker-compose.md b/docs/docker-compose.md index 4f3ac2f..422ebb2 100644 --- a/docs/docker-compose.md +++ b/docs/docker-compose.md @@ -73,5 +73,5 @@ docker-compose run --rm openvpn ovpn_revokeclient $CLIENTNAME remove * Create an environment variable with the name DEBUG and value of 1 to enable debug output (using "docker -e"). ```bash -docker-compose run -e DEBUG=1 openvpn +docker-compose run -e DEBUG=1 -p 1194:1194/udp openvpn ```