diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 7972213..4cca2ad 100755 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1,2 @@ open_collective: linuxserver +custom: ["https://www.wireguard.com/donations/",] diff --git a/README.md b/README.md index 0995679..ac13b94 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![GitHub](https://img.shields.io/static/v1.svg?style=flat-square&color=E68523&label=linuxserver.io&message=GitHub&logo=github&logoColor=FFFFFF)](https://github.com/linuxserver "view the source for all of our repositories.") [![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?style=flat-square&color=E68523&label=Supporters&logo=open%20collective&logoColor=FFFFFF)](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget") -The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring :- +The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring: * regular and timely application updates * easy user mappings (PGID, PUID) @@ -86,6 +86,7 @@ docker create \ Compatible with docker-compose v2 schemas. ``` +--- version: "2.1" services: wireguard: @@ -111,7 +112,6 @@ services: sysctls: - net.ipv4.conf.all.src_valid_mark=1 restart: unless-stopped - ``` ## Parameters @@ -183,6 +183,11 @@ The templates used for server and peer confs are saved under `/config/templates` Do not set the `PEERS` environment variable. Drop your client conf into the config folder as `/config/wg0.conf` and start the container. +## Docker Mods +[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?style=for-the-badge&color=E68523&label=mods&query=%24.mods%5B%27wireguard%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=wireguard "view available mods for this container.") + +We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above. + ## Support Info diff --git a/jenkins-vars.yml b/jenkins-vars.yml index fabaf6d..ee922c2 100644 --- a/jenkins-vars.yml +++ b/jenkins-vars.yml @@ -25,3 +25,5 @@ repo_vars: - CI_DOCKERENV='TZ=US/Pacific' - CI_AUTH='user:password' - CI_WEBPATH='' +sponsor_links: + - { name: "WireGuard", url: "https://www.wireguard.com/donations/" } \ No newline at end of file diff --git a/readme-vars.yml b/readme-vars.yml index 7d756dd..8e1375c 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -35,7 +35,7 @@ cap_add_param_vars: - { cap_add_var: "NET_ADMIN" } - { cap_add_var: "SYS_MODULE" } custom_params: - - { name: "sysctl", name_compose: "sysctls", value: "net.ipv4.conf.all.src_valid_mark=1", desc: "Required for client mode." } + - { name: "sysctl", name_compose: "sysctls", value: ["net.ipv4.conf.all.src_valid_mark=1"], desc: "Required for client mode.", array: "true" } # optional container parameters opt_param_usage_include_env: true @@ -49,33 +49,6 @@ opt_param_env_vars: optional_block_1: false optional_block_1_items: "" -custom_compose: | - version: "2.1" - services: - wireguard: - image: linuxserver/wireguard - container_name: wireguard - cap_add: - - NET_ADMIN - - SYS_MODULE - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/London - - SERVERURL=wireguard.domain.com #optional - - SERVERPORT=51820 #optional - - PEERS=1 #optional - - PEERDNS=8.8.8.8 #optional - - INTERNAL_SUBNET=10.13.13.0 #optional - volumes: - - /path/to/appdata/config:/config - - /lib/modules:/lib/modules - ports: - - 51820:51820/udp - sysctls: - - net.ipv4.conf.all.src_valid_mark=1 - restart: unless-stopped - # application setup block app_setup_block_enabled: true app_setup_block: | diff --git a/root/donate.txt b/root/donate.txt new file mode 100644 index 0000000..a316032 --- /dev/null +++ b/root/donate.txt @@ -0,0 +1 @@ +WireGuard: https://www.wireguard.com/donations/