https://github.com/d3vilh/openvpn-ui-docker-build-amd64
OpenVPN-UI builder for AMDx64 platform, compatible with Debian AWS EC2 instance and bare-metal servers.
https://github.com/d3vilh/openvpn-ui-docker-build-amd64
aws aws-ec2 aws-openvpn builder docker ec2-instance ec2-openvpn golang openvpn openvpn-admin openvpn-ui
Last synced: about 1 year ago
JSON representation
OpenVPN-UI builder for AMDx64 platform, compatible with Debian AWS EC2 instance and bare-metal servers.
- Host: GitHub
- URL: https://github.com/d3vilh/openvpn-ui-docker-build-amd64
- Owner: d3vilh
- License: gpl-3.0
- Created: 2023-01-22T12:10:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-30T14:22:24.000Z (almost 3 years ago)
- Last Synced: 2025-05-07T10:06:07.859Z (about 1 year ago)
- Topics: aws, aws-ec2, aws-openvpn, builder, docker, ec2-instance, ec2-openvpn, golang, openvpn, openvpn-admin, openvpn-ui
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openvpn-ui-docker-build
Scripts simplifying build of [openvpn-ui](https://github.com/d3vilh/openvpn-ui) for AMDx64 arch compatible with AWS EC2 Debian instance.
## To build the image
As prerequisite, you need to have Docker installed and running:
```shell
sudo apt-get install docker.io -y
sudo systemctl restart docker
```
To build own image you need to set local path to [openvpn-ui](https://github.com/d3vilh/openvpn-ui ) sources into OVPN_UI_HOME var in the [build_openvpn-ui.sh](https://github.com/d3vilh/openvpn-ui-docker-build-amd64/blob/master/build_openvpn-ui.sh) and [openvpn-ui-pack2.sh](https://github.com/d3vilh/openvpn-ui-docker-build-amd64/blob/master/openvpn-ui-pack2.sh) files. For example:
```shell
# Set the home directory of the openvpn-ui project
OVPN_UI_HOME="/home/admin/build/openvpn-ui"
```
Then run `build_openvpn-ui.sh` to build the image. The image will be named `openvpn-ui:amd64`.
## To run the image
```shell
docker run \
-v /home/philipp/openvpn:/etc/openvpn \
-v /home/philipp/openvpn/db:/opt/openvpn-gui/db \
-v /home/philipp/openvpn/pki:/usr/share/easy-rsa/pki \
-v /var/run/docker.sock:/var/run/docker.sock \
-e OPENVPN_ADMIN_USERNAME='admin' \
-e OPENVPN_ADMIN_PASSWORD='gagaZush' \
-p 8080:8080/tcp \
--privileged local/openvpn-ui
```