mirror of https://github.com/wg-easy/wg-easy
25 changed files with 96 additions and 201 deletions
@ -1,3 +0,0 @@ |
|||||
# These are supported funding model platforms |
|
||||
|
|
||||
github: weejewel |
|
||||
@ -1,39 +0,0 @@ |
|||||
name: Build & Publish Nightly |
|
||||
|
|
||||
on: |
|
||||
workflow_dispatch: |
|
||||
schedule: |
|
||||
- cron: "0 0 * * *" |
|
||||
|
|
||||
jobs: |
|
||||
deploy: |
|
||||
name: Build & Deploy |
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
permissions: |
|
||||
packages: write |
|
||||
contents: read |
|
||||
steps: |
|
||||
- uses: actions/checkout@v4 |
|
||||
with: |
|
||||
ref: production |
|
||||
|
|
||||
- name: Set up QEMU |
|
||||
uses: docker/setup-qemu-action@v3 |
|
||||
|
|
||||
- name: Set up Docker Buildx |
|
||||
uses: docker/setup-buildx-action@v3 |
|
||||
|
|
||||
- name: Login to GitHub Container Registry |
|
||||
uses: docker/login-action@v3 |
|
||||
with: |
|
||||
registry: ghcr.io |
|
||||
username: ${{ github.actor }} |
|
||||
password: ${{ secrets.GITHUB_TOKEN }} |
|
||||
|
|
||||
- name: Build & Publish Docker Image |
|
||||
uses: docker/build-push-action@v5 |
|
||||
with: |
|
||||
push: true |
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
||||
tags: ghcr.io/wg-easy/wg-easy:nightly |
|
||||
@ -1,35 +0,0 @@ |
|||||
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. |
|
||||
# |
|
||||
# You can adjust the behavior by modifying this file. |
|
||||
# For more information, see: |
|
||||
# https://github.com/actions/stale |
|
||||
name: Mark stale issues and pull requests |
|
||||
|
|
||||
on: |
|
||||
workflow_dispatch: |
|
||||
schedule: |
|
||||
- cron: '*/5 * * * *' |
|
||||
|
|
||||
jobs: |
|
||||
stale: |
|
||||
|
|
||||
runs-on: ubuntu-latest |
|
||||
if: github.repository_owner == 'wg-easy' |
|
||||
permissions: |
|
||||
issues: write |
|
||||
pull-requests: write |
|
||||
|
|
||||
steps: |
|
||||
- uses: actions/stale@v9 |
|
||||
with: |
|
||||
days-before-issue-stale: 30 |
|
||||
days-before-issue-close: 14 |
|
||||
stale-issue-label: "stale" |
|
||||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." |
|
||||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." |
|
||||
days-before-pr-stale: 30 |
|
||||
days-before-pr-close: 14 |
|
||||
stale-pr-message: "This PR is stale because it has been open for 30 days with no activity." |
|
||||
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale." |
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
|
||||
operations-per-run: 100 |
|
||||
@ -1,10 +0,0 @@ |
|||||
version: "3.8" |
|
||||
services: |
|
||||
wg-easy: |
|
||||
image: wg-easy |
|
||||
command: npm run serve |
|
||||
volumes: |
|
||||
- ./src/:/app/ |
|
||||
environment: |
|
||||
# - PASSWORD=p |
|
||||
- WG_HOST=192.168.1.233 |
|
||||
@ -1,13 +1,3 @@ |
|||||
{ |
{ |
||||
"1": "Initial version. Enjoy!", |
"1": "Initial version. Enjoy!" |
||||
"2": "You can now rename a client, and update the address. Enjoy!", |
|
||||
"3": "Many improvements and small changes. Enjoy!", |
|
||||
"4": "Now with pretty charts for client's network speed. Enjoy!", |
|
||||
"5": "Many small improvements & feature requests. Enjoy!", |
|
||||
"6": "Many small performance improvements & bug fixes. Enjoy!", |
|
||||
"7": "Improved the look & performance of the upload/download chart.", |
|
||||
"8": "Updated to Node.js v18.", |
|
||||
"9": "Fixed issue running on devices with older kernels.", |
|
||||
"10": "Added sessionless HTTP API auth & automatic dark mode." |
|
||||
"11": "Multilanguage Support & various bugfixes" |
|
||||
} |
} |
||||
|
|||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"name": "wg-easy", |
|
||||
"version": "1.0.1", |
|
||||
"lockfileVersion": 3, |
|
||||
"requires": true, |
|
||||
"packages": { |
|
||||
"": { |
|
||||
"version": "1.0.1" |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,8 +0,0 @@ |
|||||
{ |
|
||||
"version": "1.0.1", |
|
||||
"scripts": { |
|
||||
"build": "DOCKER_BUILDKIT=1 docker build --tag wg-easy .", |
|
||||
"serve": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up", |
|
||||
"start": "docker run --env WG_HOST=0.0.0.0 --name wg-easy --cap-add=NET_ADMIN --cap-add=SYS_MODULE --sysctl=\"net.ipv4.conf.all.src_valid_mark=1\" --mount type=bind,source=\"$(pwd)\"/config,target=/etc/wireguard -p 51820:51820/udp -p 51821:51821/tcp wg-easy" |
|
||||
} |
|
||||
} |
|
||||
|
Before Width: | Height: | Size: 8.0 KiB |
@ -1,11 +1,11 @@ |
|||||
{ |
{ |
||||
"name": "WireGuard", |
"name": "AmneziaWG", |
||||
"display": "standalone", |
"display": "standalone", |
||||
"background_color": "#fff", |
"background_color": "#fff", |
||||
"icons": [ |
"icons": [ |
||||
{ |
{ |
||||
"src": "img/favicon.png", |
"src": "img/favicon.ico", |
||||
"type": "image/png" |
"type": "image/x-icon" |
||||
} |
} |
||||
] |
] |
||||
} |
} |
||||
|
|||||
@ -1,22 +0,0 @@ |
|||||
[Unit] |
|
||||
Description=Wireguard VPN + + Web-based Admin UI |
|
||||
After=network-online.target nss-lookup.target |
|
||||
|
|
||||
[Service] |
|
||||
Environment="WG_HOST=raspberrypi.local" # Change this to your host's public address or static public ip. |
|
||||
Environment="PASSWORD=REPLACEME" # When set, requires a password when logging in to the Web UI, to disable add a hashtag |
|
||||
#Environment="WG_DEFAULT_ADDRESS=10.0.8.x" #Clients IP address range. |
|
||||
#Environment="WG_DEFAULT_DNS=10.0.8.1, 1.1.1.1" #DNS server clients will use. If set to blank value, clients will not use any DNS. |
|
||||
#Environment="WG_ALLOWED_IPS=0.0.0.0/0,::/0" #Allowed IPs clients will use. |
|
||||
#Environment="WG_DEVICE=ens1" #Ethernet device the wireguard traffic should be forwarded through. |
|
||||
#Environment="PORT=80" #TCP port for Web UI. Default : 51821 |
|
||||
#Environment="WG_MTU=1420" #The MTU the clients will use. Server uses default WG MTU |
|
||||
#Environment="WG_PERSISTENT_KEEPALIVE=25" #Value in seconds to keep the "connection" open. If this value is 0, then connections won't be kept alive. |
|
||||
Type=simple |
|
||||
RemainAfterExit=no |
|
||||
ExecStart=/usr/bin/env node /app/server.js |
|
||||
Restart=on-failure |
|
||||
RestartSec=1 |
|
||||
|
|
||||
[Install] |
|
||||
WantedBy=multi-user.target |
|
||||
Loading…
Reference in new issue