Skip to content

Instantly share code, notes, and snippets.

@ThomasPe
Created September 16, 2020 12:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasPe/13da460fe81971ee289fc72bbd64db3e to your computer and use it in GitHub Desktop.
Save ThomasPe/13da460fe81971ee289fc72bbd64db3e to your computer and use it in GitHub Desktop.
Module Deployment Configuration for using Bluetooth / BLE in Docker Container
"modules": {
"BLEModule": {
"version": "1.0",
"type": "docker",
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "${MODULES.BLEModule}",
"createOptions": {
"NetworkingConfig": {
"EndpointsConfig": {
"host": {}
}
},
"HostConfig": {
"NetworkMode": "host",
"Privileged": true
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment