Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config File overwritten on startup #27

Open
robertlynch3 opened this issue Sep 10, 2021 · 2 comments
Open

Config File overwritten on startup #27

robertlynch3 opened this issue Sep 10, 2021 · 2 comments

Comments

@robertlynch3
Copy link

The docker building is overwriting the mounted config file.

version: '3'
services:
    openvpn-monitor:
      image: ruimarinho/openvpn-monitor
      volumes:
        - ./openvpn-monitor.conf:/openvpn-monitor/openvpn-monitor.conf
      ports:
        - 127.0.0.1:9000:80

Prior to startup, my config file look like

cat openvpn-monitor.conf
[OpenVPN-Monitor]
geoip_data=/var/lib/GeoIP/GeoLite2-City.mmdb
datetime_format=%d/%m/%Y %H:%M:%S
site=VPN
maps=False
maps_height=500

[site 0]
host=192.168.0.1
port=5555
name=site 0
password=abc123
show_disconnect=True

[site 1]
host=192.168.0.2
port=5555
name=site 1
password=abc123
show_disconnect=True

[site 2]
host=192.168.0.3
port=5555
name=site 2
password=abc123
show_disconnect=True

After startup my config file looks like

cat openvpn-monitor.conf
[OpenVPN-Monitor]
geoip_data=/var/lib/GeoIP/GeoLite2-City.mmdb
datetime_format=%d/%m/%Y %H:%M:%S
@jandersonai
Copy link

Also happening to me.

@mrquincle
Copy link

Any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants