added wireguard
This commit is contained in:
@@ -4,8 +4,10 @@ Tested on Ubuntu 20.04.3 LTS
|
|||||||
docker <br />
|
docker <br />
|
||||||
docker-compose <br />
|
docker-compose <br />
|
||||||
DNS A-Record pointing to your server <br />
|
DNS A-Record pointing to your server <br />
|
||||||
|
Paste wireguard wg0.conf from wireguard-server to wireguard/
|
||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/cventastic/POKT_DOKT.git
|
git clone https://github.com/cventastic/POKT_DOKT.git
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|||||||
@@ -169,6 +169,26 @@ services:
|
|||||||
# - "traefik.http.routers.pocket-mainnet.middlewares=auth"
|
# - "traefik.http.routers.pocket-mainnet.middlewares=auth"
|
||||||
restart: unless-stopped
|
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:
|
volumes:
|
||||||
geth-goerli:
|
geth-goerli:
|
||||||
geth-rinkeby:
|
geth-rinkeby:
|
||||||
|
|||||||
Reference in New Issue
Block a user