mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2025-01-09 22:45:35 +08:00
commit
e280bed71c
@ -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"]
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user