added wireguard
This commit is contained in:
@@ -4,8 +4,10 @@ Tested on Ubuntu 20.04.3 LTS
|
||||
docker <br />
|
||||
docker-compose <br />
|
||||
DNS A-Record pointing to your server <br />
|
||||
Paste wireguard wg0.conf from wireguard-server to wireguard/
|
||||
|
||||
#### Usage
|
||||
|
||||
```
|
||||
git clone https://github.com/cventastic/POKT_DOKT.git
|
||||
git submodule update --init --recursive
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user