https://github.com/waldner/nebula-docker
Docker image + compose file for nebula mesh
https://github.com/waldner/nebula-docker
Last synced: 10 months ago
JSON representation
Docker image + compose file for nebula mesh
- Host: GitHub
- URL: https://github.com/waldner/nebula-docker
- Owner: waldner
- License: gpl-3.0
- Created: 2021-01-16T22:00:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-29T23:52:57.000Z (almost 4 years ago)
- Last Synced: 2025-02-06T07:21:17.388Z (11 months ago)
- Language: Shell
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nebula-docker
Docker image + compose file for nebula mesh
## Getting started
Create a .env file with the following contents:
```
# separate by percent sign
STATIC_HOST_MAP=192.168.1.1,lighthouse.example.net:4242%192.168.1.2,host2.example.net
# list of VPN ips of lighthouse nodes
# these are used only on non-lighthouse nodes
# separate by percent sign
LIGHTHOUSE_HOSTS=192.168.1.1%192.168.1.7
# set to true or false
AM_LIGHTHOUSE=false
LISTEN_HOST=0.0.0.0
LISTEN_PORT=4242
TUN_DEVICE=nebula1
# where our certs are
CA_CERT=./certs/ca.crt
NODE_CERT=./certs/scooter.crt
NODE_KEY=./certs/scooter.key
```
Run the daemon with `docker-comose up -d`.
Note that the container uses host-mode networking due to the TUN interface requirements.