From 5938474bf84eacbc476003edf3d1ca246e68fe56 Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:20:11 +0200 Subject: [PATCH] fixup: docker-compose.dev.yml Improving compose file for dev. Some variables are missed which lead to an error. Fixes: #1234 --- docker-compose.dev.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 9180733..bd4a836 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,9 +1,17 @@ services: wg-easy: - image: wg-easy + build: + dockerfile: ./Dockerfile command: npm run serve volumes: - ./src/:/app/ + # - ./data/:/etc/wireguard + ports: + - "51820:51820/udp" + - "51821:51821/tcp" + cap_add: + - NET_ADMIN + - SYS_MODULE environment: - # - PASSWORD_HASH=p + # - PASSWORD=p - WG_HOST=192.168.1.233