From 145d12b2c8160277d486930d1831d19b619dea7f Mon Sep 17 00:00:00 2001 From: Dselen Date: Thu, 3 Oct 2024 08:26:30 -0500 Subject: [PATCH] Added minor changes and deletions. --- compose.yaml | 26 -------------------------- docker/compose.yaml | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml deleted file mode 100644 index a75ef452..00000000 --- a/compose.yaml +++ /dev/null @@ -1,26 +0,0 @@ -services: - - wireguard-dashboard: - build: ./ - container_name: wiregate - cap_add: - - NET_ADMIN - - SYS_MODULE - restart: unless-stopped - environment: - - wg_net=10.0.0.1/24 - - wg_port=51820 - volumes: - - wgd_configs:/etc/wireguard - - wgd_app:/opt/wireguarddashboard/src - ports: - - 10086:10086/tcp - - 51820:51820/udp - sysctls: - - net.ipv4.ip_forward=1 - - net.ipv4.conf.all.src_valid_mark=1 - - -volumes: - wgd_configs: - wgd_app: \ No newline at end of file diff --git a/docker/compose.yaml b/docker/compose.yaml index 16c812b1..68e7efc3 100644 --- a/docker/compose.yaml +++ b/docker/compose.yaml @@ -12,7 +12,7 @@ services: ports: - 10086:10086/tcp - 51820:51820/udp - volumes: + volumes: # Can be customized to only the /opt/wireguarddashboard/src/db folder with the /opt/wireguarddashboard/src/wg-dashboard.ini file. - ./app:/opt/wireguarddashboard - ./conf:/etc/wireguard cap_add: