diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a742b50..0000000 --- a/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -FROM ubuntu:20.04 - -ARG WG_ADDRESS=$WG_ADDRESS - -RUN apt-get update && \ - apt-get install -y --no-install-recommends iproute2 wireguard-tools iptables nano net-tools python3 python3-pip python3-venv procps openresolv inotify-tools && \ - apt-get clean - -RUN mkdir -p /etc/wireguard/ -RUN mkdir -p /opt/wgdashboard -RUN mkdir -p /opt/wgdashboard_tmp -# configure wireguard -RUN wg genkey | tee /opt/wgdashboard_tmp/privatekey | wg pubkey | tee /opt/wgdashboard_tmp/publickey - -RUN cd / && echo "[Interface]" > wg0.conf && echo "SaveConfig = true" >> wg0.conf && echo -n "PrivateKey = " >> wg0.conf && cat /opt/wgdashboard_tmp/privatekey >> wg0.conf \ - && echo "ListenPort = 51820" >> wg0.conf && echo "Address = ${WG_ADDRESS}" >> wg0.conf && chmod 700 wg0.conf - -COPY ./src /opt/wgdashboard_tmp -RUN pip3 install -r /opt/wgdashboard_tmp/requirements.txt --no-cache-dir -RUN rm -rf /opt/wgdashboard_tmp -COPY ./entrypoint.sh /entrypoint.sh -RUN chmod u+x /entrypoint.sh - -ENTRYPOINT ["/entrypoint.sh"] -WORKDIR /opt/wgdashboard - -EXPOSE 10086 -EXPOSE 51820/udp \ No newline at end of file diff --git a/README.md b/README.md index 119d285..0efb303 100644 --- a/README.md +++ b/README.md @@ -380,7 +380,7 @@ Please visit [Docker-explain.md](./docker/Docker-explain.md) Please visit [shuricksumy/docker-wgdashboard](https://github.com/shuricksumy/docker-wgdashboard) -For questions or issues related to Docker, please visit [#272](https://github.com/donaldzou/WGDashboard/issues/272) +> For questions or issues related to Docker, please visit [#272](https://github.com/donaldzou/WGDashboard/issues/272) ## 🥘 Experimental Functions diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index ca6fe37..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: "3.5" - -services: - wgdashboard: - image: donaldzou/wgdashboard - build: - context: ./ - dockerfile: ./Dockerfile - cap_add: - - NET_ADMIN - - SYS_MODULE - restart: unless-stopped - volumes: - - /lib/modules:/lib/modules - - ./src:/opt/wgdashboard - - ./config:/etc/wireguard - ports: - - 10086:10086 - - 51820:51820/udp \ No newline at end of file diff --git a/img/AddPeer.png b/img/AddPeer.png deleted file mode 100644 index d4627ce..0000000 Binary files a/img/AddPeer.png and /dev/null differ diff --git a/img/Configuration.png b/img/Configuration.png deleted file mode 100644 index 317a68b..0000000 Binary files a/img/Configuration.png and /dev/null differ diff --git a/img/DashboardSetting.png b/img/DashboardSetting.png deleted file mode 100644 index 463f947..0000000 Binary files a/img/DashboardSetting.png and /dev/null differ diff --git a/img/DeleteBulk.png b/img/DeleteBulk.png deleted file mode 100644 index afa2f53..0000000 Binary files a/img/DeleteBulk.png and /dev/null differ diff --git a/img/DeletePeer.png b/img/DeletePeer.png deleted file mode 100644 index 11f15fe..0000000 Binary files a/img/DeletePeer.png and /dev/null differ diff --git a/img/EditPeer.png b/img/EditPeer.png deleted file mode 100644 index fed3bb3..0000000 Binary files a/img/EditPeer.png and /dev/null differ diff --git a/img/HomePage.png b/img/HomePage.png deleted file mode 100644 index 2eab836..0000000 Binary files a/img/HomePage.png and /dev/null differ diff --git a/img/PWA.gif b/img/PWA.gif deleted file mode 100644 index bcc0f4b..0000000 Binary files a/img/PWA.gif and /dev/null differ diff --git a/img/Ping.png b/img/Ping.png deleted file mode 100644 index 8592964..0000000 Binary files a/img/Ping.png and /dev/null differ diff --git a/img/QRCode.png b/img/QRCode.png deleted file mode 100644 index f2d8b6d..0000000 Binary files a/img/QRCode.png and /dev/null differ diff --git a/img/SearchIP.png b/img/SearchIP.png deleted file mode 100644 index 0c78d65..0000000 Binary files a/img/SearchIP.png and /dev/null differ diff --git a/img/SignIn.png b/img/SignIn.png deleted file mode 100644 index 340e706..0000000 Binary files a/img/SignIn.png and /dev/null differ diff --git a/img/Traceroute.png b/img/Traceroute.png deleted file mode 100644 index b5fa9aa..0000000 Binary files a/img/Traceroute.png and /dev/null differ diff --git a/img/logo.png b/img/logo.png deleted file mode 100644 index 3ab02c2..0000000 Binary files a/img/logo.png and /dev/null differ