Skip to content

Commit 82dfe9c

Browse files
authored
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.
1 parent 387d39e commit 82dfe9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docker-compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ docker-compose run --rm openvpn ovpn_revokeclient $CLIENTNAME remove
7373
* Create an environment variable with the name DEBUG and value of 1 to enable debug output (using "docker -e").
7474

7575
```bash
76-
docker-compose run -e DEBUG=1 openvpn
76+
docker-compose run -e DEBUG=1 -p 1194:1194/udp openvpn
7777
```

0 commit comments

Comments
 (0)