Open blmhemu opened 3 years ago
I guess this will be possible, but sadly I don't really have time to change this and test it.
I can probably add an environment variable TOUCH_OVPN_FILE which will 'exclude' this section of the code, since I believe this is the only section that writes to the file:
https://github.com/DyonR/docker-Jackettvpn/blob/master/openvpn/start.sh#L91
I don't think there would be another (easier) way to achieve this, since I don't think a Docker can internally recognise if a path/volume is mounted.
Is it possible to achieve this without writing to .ovpn files which are mounted ? This is because, I am trying to mount an configMap (kubernetes) which does not allow writing to the file ? Also is it possible to save credentials in different folder that the one mounted for security reasons ?