rundqvist / docker-openvpn

MIT License
4 stars 5 forks source link

[Add] compose to README; fixes #9 #10

Open samatstariongroup opened 3 years ago

samatstariongroup commented 3 years ago

I added sample docker-compose content to the README file. I typically don't use the docker run command that much and use docker-compose more frequently, especially when running multiple containers in combination. This compose file works for me, took me some time to figure out that the network_mode should be set to bridge for it to work. Seems that is not the default on docker-compose and the resolv.conf file was not updated with the dns servers listed in the compose file. When using docker run that seems to be the default and everything just works. Hopes this can also help others.