wg-dash

command module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 11 Imported by: 0

README

WireGuard Dashboard

wireguard


Assets Release Docker-CI CodeQL Analysis DeepSource

Run WireGuard Dashboard

Default username and password are admin.

Quickstart

Prerequisities:

  • docker
  • docker-compose
  • wireguard
git clone https://github.com/ss-o/wg-dash.git
cd wg-dash
docker-compose up

On Ubuntu Focal (x86_64):

  • install docker
  • install docker-compose
  • install wireguard
  • setup systemd
curl -L https://github.com/ss-o/wg-dash/raw/main/quickstart.sh | bash
Using docker-compose

docker-compose.yml

version: '3.3'

services:
  wg:
    image: ghcr.io/ss-o/wg-dash:latest
    container_name: wg-dash
    environment:
#   To use sendgrid uncomment and fill bellow.
#       SENDGRID_API_KEY: "Your sendgrid api key"
#       EMAIL_FROM: "the email address you registered on sendgrid"
#       EMAIL_FROM_NAME: "the sender's email address"
       SESSION_SECRET: "YourRandomSessionSecret"
    ports:
      - 5000:5000
    logging:
      driver: json-file
      options:
        max-size: 50m
    volumes:
      - ./db:/app/db
      - /etc/wireguard:/etc/wireguard # Recommended mount point
    restart: unless-stopped

Deploy: docker-compose up -d

Using binary file

Download the binary file from the release and run it with command:

sudo ./wg-dash

Setup Services

Build

Build docker image
docker build -t wg-dash .
Build binary file
# With NPM
npm run build
# With Yarn
yarn build

Or, append resources to executable as zip file

go build -o wg-dash
rice append --exec wg-dash

Screenshots

screen1 screen1

License

MIT. See LICENSE.

References

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL