-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1.33 KB
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "3"
services:
gui:
image: bnhf/openvpn-admin-plus:latest
container_name: openvpn-admin-plus
logging:
driver: "json-file"
options:
max-size: "100k"
environment:
- OPENVPN_ADMIN_USERNAME=admin # Leave this default as-is and update on first-run
- OPENVPN_ADMIN_PASSWORD=b3secure # Leave this default as-is and update on first-run
- PIVPN_CONF=server.conf # Filename for your OpenVPN server configuration
- COUNTRY=${COUNTRY} # Country, Province, City, Org and OU are used by EasyRSA
- PROVINCE=${PROVINCE} # Province or State
- CITY=${CITY}
- ORG=${ORG} # Organization - Use your company name here or make one up
- EMAIL=${EMAIL}
- OU=${OU} # Organizational Unit - Use your company department name or make one up
- TZ=${TZ} # Your OpenVPN server's timezone
- ENABLEHTTPS=${ENABLEHTTPS} # Enable HTTPS protocol
- HTTPSPORT=${HTTPSPORT} # Specify the HTTPS port number
- HTTPSCERT=${HTTPSCERT} # The path to the SSL-certificate (for example: /etc/openvpn/server/ssl/openvpn-server.crt)
- HTTPSKEY=${HTTPSKEY} # The path to the private key (for example: /etc/openvpn/server/ssl/openvpn-server.key)
ports:
- "8080:8080/tcp"
- "8443:8443/tcp"
restart: always
volumes:
- /etc/openvpn:/etc/openvpn
- ./openvpn-data/db:/opt/openvpn-gui-tap/db