gluon-supernode-docker/README.md

53 lines
716 B
Markdown
Raw Permalink Normal View History

2021-12-07 02:05:27 +01:00
# gluon super node with docker
2021-12-20 19:40:05 +01:00
## Prepare
Prepare test VM with vagrant
2021-12-07 02:05:27 +01:00
```
2021-12-20 19:40:05 +01:00
vagrant up supernode
```
Change to vagrant VM
2021-12-07 02:05:27 +01:00
```
2021-12-20 19:40:05 +01:00
vagrant ssh supernode
```
2021-12-20 19:41:01 +01:00
Place you mullvad wiregard config as `wg0.conf` in this directory.
2021-12-20 19:40:05 +01:00
## Run
2021-12-07 02:05:27 +01:00
```
2021-12-20 19:40:05 +01:00
# iff using vagrant
2021-12-07 02:05:27 +01:00
cd /vagrant_data
2021-12-20 19:40:05 +01:00
# build all images
2021-12-07 02:05:27 +01:00
docker-compose build
2021-12-20 19:40:05 +01:00
# start
docker-compose up -t 0 -d batman fastd_server dhcpd_v4 wireguard
2021-12-07 02:05:27 +01:00
```
2021-12-20 19:40:05 +01:00
## Test with OpenWRT node
```
vagrant up node
```
## Preparations for native install
### Docker
2021-12-07 02:05:27 +01:00
Docker logs retenation + ipv6 support
```
{
2021-12-20 19:41:35 +01:00
"log-driver": "json-file",
"log-opts": {
"max-size": "1m",
"max-file": "3"
},
"ipv6": true,
"fixed-cidr-v6": "fcff:ffff:ffff:ffff::/64"
2021-12-07 02:05:27 +01:00
}
```