Skip to content

Instantly share code, notes, and snippets.

@bonedaddy
Last active March 31, 2020 23:52
Show Gist options
  • Save bonedaddy/6c74f4c0b49aad4acb10f843d8f258fc to your computer and use it in GitHub Desktop.
Save bonedaddy/6c74f4c0b49aad4acb10f843d8f258fc to your computer and use it in GitHub Desktop.
version: "3.5"
services:
nebula:
privileged: true
cap_add:
- "NET_ADMIN"
devices:
- /dev/net/tun:/dev/net/tun
image: rtradetech/boxit-nebula:latest
restart: on-failure
network_mode: "host"
command: ["-config", "/opt/nebula/config.yaml"]
volumes:
- ./configs/config.lighthouse.yaml:/opt/nebula/config.yaml
- ./configs/ca.crt:/opt/nebula/ca.crt
- ./configs/lighthouse1.crt:/opt/nebula/lighthouse1.crt
- ./configs/lighthouse1.key:/opt/nebula/lighthouse1.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment