Skip to content

Commit

Permalink
Update docker-compose debugging tips to include port publishing
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vansickle authored Jan 18, 2019
1 parent 387d39e commit 82dfe9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 82dfe9c

Please sign in to comment.