mirror of https://github.com/wg-easy/wg-easy
Browse Source
Improving compose file for dev. Some variables are missed which lead to an error. Fixes: #1234pull/1226/head
committed by
GitHub
1 changed files with 10 additions and 2 deletions
@ -1,9 +1,17 @@ |
|||||
services: |
services: |
||||
wg-easy: |
wg-easy: |
||||
image: wg-easy |
build: |
||||
|
dockerfile: ./Dockerfile |
||||
command: npm run serve |
command: npm run serve |
||||
volumes: |
volumes: |
||||
- ./src/:/app/ |
- ./src/:/app/ |
||||
|
# - ./data/:/etc/wireguard |
||||
|
ports: |
||||
|
- "51820:51820/udp" |
||||
|
- "51821:51821/tcp" |
||||
|
cap_add: |
||||
|
- NET_ADMIN |
||||
|
- SYS_MODULE |
||||
environment: |
environment: |
||||
# - PASSWORD_HASH=p |
# - PASSWORD=p |
||||
- WG_HOST=192.168.1.233 |
- WG_HOST=192.168.1.233 |
||||
|
Loading…
Reference in new issue