From fedbdb7347d48fc31904ce3c2e77709da2b1f9a5 Mon Sep 17 00:00:00 2001 From: cventastic Date: Mon, 20 Dec 2021 18:43:16 +0100 Subject: [PATCH] added wireguard --- README.md | 2 ++ docker-compose.yml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index b94e5777..cbbb27b1 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,10 @@ Tested on Ubuntu 20.04.3 LTS docker
docker-compose
DNS A-Record pointing to your server
+Paste wireguard wg0.conf from wireguard-server to wireguard/ #### Usage + ``` git clone https://github.com/cventastic/POKT_DOKT.git git submodule update --init --recursive diff --git a/docker-compose.yml b/docker-compose.yml index 5efe220b..fb714694 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -169,6 +169,26 @@ services: # - "traefik.http.routers.pocket-mainnet.middlewares=auth" restart: unless-stopped + wireguard: + image: lscr.io/linuxserver/wireguard + container_name: wireguard + cap_add: + - NET_ADMIN + - SYS_MODULE + environment: + - PUID=$PUID + - PGID=$PGID + volumes: + - wireguard/config:/config + - /lib/modules:/lib/modules + ports: + - $SERVERPORT:$SERVERPORT/udp + sysctls: + - net.ipv4.conf.all.src_valid_mark=1 + restart: unless-stopped + + + volumes: geth-goerli: geth-rinkeby: