Merge pull request #76 from WeeJeWel/master

mmip
This commit is contained in:
Emile Nijssen 2021-09-26 23:07:52 +02:00 committed by GitHub
commit e280bed71c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM node:14-alpine
# Install Linux packages
RUN apk add -U wireguard-tools
RUN apk add -U --no-cache wireguard-tools dumb-init
# Copy Web UI
COPY src/ /app/
@ -16,4 +16,4 @@ EXPOSE 51821/tcp
ENV DEBUG=Server,WireGuard
# Run Web UI
CMD ["node", "server.js"]
CMD ["/usr/bin/dumb-init", "node", "server.js"]

View File

@ -25,6 +25,7 @@ You have found the easiest way to install & manage WireGuard on any Linux host!
## Requirements
* A host with a kernel that supports WireGuard (all modern kernels).
* A host with Docker installed.
## Installation
@ -39,6 +40,12 @@ $ sudo usermod -aG docker $(whoami)
$ bash
```
You might need to install docker-compose separately. For example, on a Raspberry Pi:
```bash
sudo apt-get install docker-compose
```
### 2. Configure WireGuard
Run these commands to prepare and configure WireGuard.