DockSTARTer icon indicating copy to clipboard operation
DockSTARTer copied to clipboard

[Application Request] wg-easy

Open dylanmtaylor opened this issue 2 years ago • 6 comments

Name of the application

wg-easy

GitHub

https://github.com/wg-easy/wg-easy

Docker Hub/GitHub Registry

https://hub.docker.com/r/weejewel/wg-easy

Additional context

wg-easy is almost certainly a better Wireguard management experience than the only currently supported Wireguard container for most people.

dylanmtaylor avatar Aug 08 '23 02:08 dylanmtaylor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 17 '24 00:01 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This is still desired.

dylanmtaylor avatar Jan 17 '24 02:01 dylanmtaylor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 18 '24 00:04 github-actions[bot]

This is still wanted.

spencebah avatar Apr 30 '24 16:04 spencebah

I have got it working using docker-compose.override.yml

References used to generate this:

services:
  wg-easy:
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    container_name: wg-easy
    environment:
      - LANG=en
      - WG_HOST=<🚨YOUR_SERVER_IP>
      - PASSWORD_HASH=<🚨YOUR_ADMIN_PASSWORD_HASH>
      - PORT=51821
      - WG_PORT=51820
      - PGID=${PGID}
      - PUID=${PUID}
      - WG_ALLOWED_IPS=<🚨YOUR_SERVER_SUBNET e.g. 192.168.1./24>
      - WG_DEFAULT_DNS=<🚨YOUR_ROUTER_IP>
      - UI_CHART_TYPE=3
      - UI_TRAFFIC_STATS=true
    image: ghcr.io/wg-easy/wg-easy
    logging:
      driver: json-file
      options:
        max-file: ${DOCKERLOGGING_MAXFILE}
        max-size: ${DOCKERLOGGING_MAXSIZE}
    ports:
      - "51820:51820/udp"
      - "51821:51821/tcp"
    restart: unless-stopped
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv4.ip_forward=1
    volumes:
      - ${DOCKERCONFDIR}/wg-easy:/etc/wireguard

The following arguments were optional, I needed to add them to get it working for my setup

      - WG_ALLOWED_IPS
      - WG_DEFAULT_DNS
      - UI_CHART_TYPE
      - UI_TRAFFIC_STATS

I hope to have enough time to add this as a pull request. It's pretty good. Way easier than command line

bababash avatar Jul 04 '24 22:07 bababash