Browse Source

Docker-Compose config update

Needs to bind to host otherwise It can't control wireguard.
pull/4/head
dragon2611 5 years ago
committed by GitHub
parent
commit
a2658b28f8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 35
      README.md

35
README.md

@ -34,22 +34,25 @@ perara/wireguard-manager
## Docker-compose
```yaml
wireguard:
container_name: wireguard-manager
image: perara/wireguard-manager
cap_add:
- NET_ADMIN
ports:
- 51800:51900/udp
- 8888:8888
volumes:
- ./ops/wireguard/_data:/config
environment:
HOST: 0.0.0.0
PORT: 8888
ADMIN_PASSWORD: admin
ADMIN_USERNAME: admin
WEB_CONCURRENCY: 1
version: "2"
services:
wireguard:
container_name: wireguard-manager
image: perara/wireguard-manager
cap_add:
- NET_ADMIN
ports:
- 51800:51900/udp
- 8888:8888
volumes:
- ./ops/wireguard/_data:/config
environment:
HOST: 0.0.0.0
PORT: 8888
ADMIN_PASSWORD: admin
ADMIN_USERNAME: admin
WEB_CONCURRENCY: 1
network_mode: host
```
# Install (OS)

Loading…
Cancel
Save