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.
This commit is contained in:
Pavel Samokha 2019-01-18 17:35:09 +03:00 committed by GitHub
parent 387d39e5d7
commit 82dfe9cabd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
```