Philip H
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with
16 additions and
16 deletions
-
.github/workflows/deploy-development.yml
-
.github/workflows/deploy-nightly.yml
-
.github/workflows/deploy.yml
-
.gitignore
-
README.md
-
docker-compose.dev.yml
-
docker-compose.yml
-
docs/changelog.json
-
package.json
-
src/.eslintrc.json
-
src/.gitignore
-
src/www/css/app.css
-
src/www/manifest.json
-
src/www/src/css/app.css
|
@ -33,4 +33,4 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
push: true |
|
|
push: true |
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 |
|
|
tags: ghcr.io/wg-easy/wg-easy:development |
|
|
tags: ghcr.io/wg-easy/wg-easy:development |
|
|
|
@ -29,10 +29,10 @@ jobs: |
|
|
registry: ghcr.io |
|
|
registry: ghcr.io |
|
|
username: ${{ github.actor }} |
|
|
username: ${{ github.actor }} |
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
|
- name: Set environment variables |
|
|
- name: Set environment variables |
|
|
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV |
|
|
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV |
|
|
|
|
|
|
|
|
- name: Build & Publish Docker Image |
|
|
- name: Build & Publish Docker Image |
|
|
uses: docker/build-push-action@v5 |
|
|
uses: docker/build-push-action@v5 |
|
|
with: |
|
|
with: |
|
|
|
@ -30,10 +30,10 @@ jobs: |
|
|
registry: ghcr.io |
|
|
registry: ghcr.io |
|
|
username: ${{ github.actor }} |
|
|
username: ${{ github.actor }} |
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
password: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|
|
- name: Set environment variables |
|
|
- name: Set environment variables |
|
|
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV |
|
|
run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV |
|
|
|
|
|
|
|
|
- name: Build & Publish Docker Image |
|
|
- name: Build & Publish Docker Image |
|
|
uses: docker/build-push-action@v5 |
|
|
uses: docker/build-push-action@v5 |
|
|
with: |
|
|
with: |
|
|
|
@ -1,3 +1,3 @@ |
|
|
/config |
|
|
/config |
|
|
/wg0.conf |
|
|
/wg0.conf |
|
|
/wg0.json |
|
|
/wg0.json |
|
|
|
@ -65,7 +65,7 @@ $ docker run -d \ |
|
|
</pre> |
|
|
</pre> |
|
|
|
|
|
|
|
|
> 💡 Replace `YOUR_SERVER_IP` with your WAN IP, or a Dynamic DNS hostname. |
|
|
> 💡 Replace `YOUR_SERVER_IP` with your WAN IP, or a Dynamic DNS hostname. |
|
|
> |
|
|
> |
|
|
> 💡 Replace `YOUR_ADMIN_PASSWORD` with a password to log in on the Web UI. |
|
|
> 💡 Replace `YOUR_ADMIN_PASSWORD` with a password to log in on the Web UI. |
|
|
|
|
|
|
|
|
The Web UI will now be available on `http://0.0.0.0:51821`. |
|
|
The Web UI will now be available on `http://0.0.0.0:51821`. |
|
|
|
@ -5,6 +5,6 @@ services: |
|
|
command: npm run serve |
|
|
command: npm run serve |
|
|
volumes: |
|
|
volumes: |
|
|
- ./src/:/app/ |
|
|
- ./src/:/app/ |
|
|
environment: |
|
|
environment: |
|
|
# - PASSWORD=p |
|
|
# - PASSWORD=p |
|
|
- WG_HOST=192.168.1.233 |
|
|
- WG_HOST=192.168.1.233 |
|
|
|
@ -21,7 +21,7 @@ services: |
|
|
# - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt |
|
|
# - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt |
|
|
# - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt |
|
|
# - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt |
|
|
# - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt |
|
|
# - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt |
|
|
|
|
|
|
|
|
image: ghcr.io/wg-easy/wg-easy |
|
|
image: ghcr.io/wg-easy/wg-easy |
|
|
container_name: wg-easy |
|
|
container_name: wg-easy |
|
|
volumes: |
|
|
volumes: |
|
|
|
@ -9,4 +9,4 @@ |
|
|
"8": "Updated to Node.js v18.", |
|
|
"8": "Updated to Node.js v18.", |
|
|
"9": "Fixed issue running on devices with older kernels.", |
|
|
"9": "Fixed issue running on devices with older kernels.", |
|
|
"10": "Added sessionless HTTP API auth & automatic dark mode." |
|
|
"10": "Added sessionless HTTP API auth & automatic dark mode." |
|
|
} |
|
|
} |
|
|
|
@ -5,4 +5,4 @@ |
|
|
"serve": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up", |
|
|
"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" |
|
|
"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" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
@ -8,4 +8,4 @@ |
|
|
"no-shadow": "off", |
|
|
"no-shadow": "off", |
|
|
"max-len": "off" |
|
|
"max-len": "off" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
@ -1 +1 @@ |
|
|
/node_modules |
|
|
/node_modules |
|
|
|
@ -1715,4 +1715,4 @@ video { |
|
|
.md\:pb-0 { |
|
|
.md\:pb-0 { |
|
|
padding-bottom: 0px; |
|
|
padding-bottom: 0px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
@ -8,4 +8,4 @@ |
|
|
"type": "image/png" |
|
|
"type": "image/png" |
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
|
@ -1,3 +1,3 @@ |
|
|
@tailwind base; |
|
|
@tailwind base; |
|
|
@tailwind components; |
|
|
@tailwind components; |
|
|
@tailwind utilities; |
|
|
@tailwind utilities; |
|
|