An open API service indexing awesome lists of open source software.

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.

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
```