mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2025-01-10 15:05:52 +08:00
commit
e280bed71c
@ -1,7 +1,7 @@
|
|||||||
FROM node:14-alpine
|
FROM node:14-alpine
|
||||||
|
|
||||||
# Install Linux packages
|
# Install Linux packages
|
||||||
RUN apk add -U wireguard-tools
|
RUN apk add -U --no-cache wireguard-tools dumb-init
|
||||||
|
|
||||||
# Copy Web UI
|
# Copy Web UI
|
||||||
COPY src/ /app/
|
COPY src/ /app/
|
||||||
@ -16,4 +16,4 @@ EXPOSE 51821/tcp
|
|||||||
ENV DEBUG=Server,WireGuard
|
ENV DEBUG=Server,WireGuard
|
||||||
|
|
||||||
# Run Web UI
|
# Run Web UI
|
||||||
CMD ["node", "server.js"]
|
CMD ["/usr/bin/dumb-init", "node", "server.js"]
|
||||||
|
@ -25,6 +25,7 @@ You have found the easiest way to install & manage WireGuard on any Linux host!
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* A host with a kernel that supports WireGuard (all modern kernels).
|
* A host with a kernel that supports WireGuard (all modern kernels).
|
||||||
|
* A host with Docker installed.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -39,6 +40,12 @@ $ sudo usermod -aG docker $(whoami)
|
|||||||
$ bash
|
$ 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
|
### 2. Configure WireGuard
|
||||||
|
|
||||||
Run these commands to prepare and configure WireGuard.
|
Run these commands to prepare and configure WireGuard.
|
||||||
|
Loading…
Reference in New Issue
Block a user