You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ However it works fine as standalone application as well.
19
19
20
20
* Status page that shows server statistics and list of connected clients
21
21
* Easy to **generate**, **download**, **revoke** and **delete** client certificates
22
+
* Change predefined EasyRSA vars including certificates and CRL expiration time
22
23
* You can set static IP to clients and
23
24
* Add secret passphrase during client certificate generation
24
25
* Easy to preview OpenVPN Server logs, as well as do
@@ -85,6 +86,22 @@ services:
85
86
cap_add:
86
87
- NET_ADMIN
87
88
restart: always
89
+
90
+
openvpn-ui:
91
+
container_name: openvpn-ui
92
+
image: d3vilh/openvpn-ui:latest
93
+
environment:
94
+
- OPENVPN_ADMIN_USERNAME=admin
95
+
- OPENVPN_ADMIN_PASSWORD=gagaZush
96
+
privileged: true
97
+
ports:
98
+
- "8080:8080/tcp"
99
+
volumes:
100
+
- ./:/etc/openvpn
101
+
- ./db:/opt/openvpn-gui/db
102
+
- ./pki:/usr/share/easy-rsa/pki
103
+
- /var/run/docker.sock:/var/run/docker.sock:ro
104
+
restart: always
88
105
```
89
106
90
107
## Run this image using the Docker itself
@@ -122,6 +139,25 @@ docker run --interactive --tty --rm \
122
139
--privileged d3vilh/openvpn-server:latest
123
140
```
124
141
142
+
If you are running OpenVPN-UI with `d3vilh/openvpn-server` please be sure `easy-rsa.vars` is set properly and put in `.config` container volume as `easy-rsa.vars` file. In this case your custom EasyRSA options will be applyied correctly during root CA certificate generation.
0 commit comments