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: