diff --git a/.github/workflows/deploy-development.yml b/.github/workflows/deploy-development.yml index 8c140ee..81707dc 100644 --- a/.github/workflows/deploy-development.yml +++ b/.github/workflows/deploy-development.yml @@ -33,4 +33,4 @@ jobs: with: push: true platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 - tags: ghcr.io/wg-easy/wg-easy:development \ No newline at end of file + tags: ghcr.io/wg-easy/wg-easy:development diff --git a/.github/workflows/deploy-nightly.yml b/.github/workflows/deploy-nightly.yml index a94e299..a2fb342 100644 --- a/.github/workflows/deploy-nightly.yml +++ b/.github/workflows/deploy-nightly.yml @@ -29,10 +29,10 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Set environment variables run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV - + - name: Build & Publish Docker Image uses: docker/build-push-action@v5 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 976583f..84e5b17 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,10 +30,10 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Set environment variables run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV - + - name: Build & Publish Docker Image uses: docker/build-push-action@v5 with: diff --git a/.gitignore b/.gitignore index 77574b5..4033f5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /config /wg0.conf -/wg0.json \ No newline at end of file +/wg0.json diff --git a/README.md b/README.md index dc81186..6d72c9d 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ $ docker run -d \ > 💡 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. The Web UI will now be available on `http://0.0.0.0:51821`. diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 65dfc57..08e4697 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -5,6 +5,6 @@ services: command: npm run serve volumes: - ./src/:/app/ - environment: + environment: # - PASSWORD=p - WG_HOST=192.168.1.233 diff --git a/docker-compose.yml b/docker-compose.yml index 5281181..d9ddcf7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,7 @@ services: # - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt # - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt # - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt - + image: ghcr.io/wg-easy/wg-easy container_name: wg-easy volumes: diff --git a/docs/changelog.json b/docs/changelog.json index dc6072d..34f64b3 100644 --- a/docs/changelog.json +++ b/docs/changelog.json @@ -9,4 +9,4 @@ "8": "Updated to Node.js v18.", "9": "Fixed issue running on devices with older kernels.", "10": "Added sessionless HTTP API auth & automatic dark mode." -} \ No newline at end of file +} diff --git a/package.json b/package.json index 704c58d..ded9b4e 100644 --- a/package.json +++ b/package.json @@ -5,4 +5,4 @@ "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" } -} \ No newline at end of file +} diff --git a/src/.eslintrc.json b/src/.eslintrc.json index 9fc48da..613dd7d 100644 --- a/src/.eslintrc.json +++ b/src/.eslintrc.json @@ -8,4 +8,4 @@ "no-shadow": "off", "max-len": "off" } -} \ No newline at end of file +} diff --git a/src/.gitignore b/src/.gitignore index 30bc162..07e6e47 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1 +1 @@ -/node_modules \ No newline at end of file +/node_modules diff --git a/src/package.json b/src/package.json index 66846d6..b37a542 100644 --- a/src/package.json +++ b/src/package.json @@ -32,4 +32,4 @@ "engines": { "node": "18" } -} \ No newline at end of file +} diff --git a/src/www/css/app.css b/src/www/css/app.css index b1c4610..e9fe0c7 100644 --- a/src/www/css/app.css +++ b/src/www/css/app.css @@ -1715,4 +1715,4 @@ video { .md\:pb-0 { padding-bottom: 0px; } -} \ No newline at end of file +} diff --git a/src/www/manifest.json b/src/www/manifest.json index 5214f3f..e0834f7 100644 --- a/src/www/manifest.json +++ b/src/www/manifest.json @@ -8,4 +8,4 @@ "type": "image/png" } ] -} \ No newline at end of file +} diff --git a/src/www/src/css/app.css b/src/www/src/css/app.css index bd6213e..b5c61c9 100644 --- a/src/www/src/css/app.css +++ b/src/www/src/css/app.css @@ -1,3 +1,3 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities;