bluerobotics / bluerobotics/BlueOS-docs

Add documentation about custom configuration for extensions

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3
Forks
5
Avg merge
9h 58m
Merged PRs (30d)
1

Description

at the moment you can set a custom configuration in the extension.
To do that, go in the extensions page -> installed -> Go to the extension block and click in Edit.
There you should add the following json configuration:
```
{
"ExposedPorts": {
"80/tcp": {}
},
"HostConfig": {
"ExtraHosts": [
"blueos.local:host-gateway"
],
"Privileged": true,
"Binds": [
"/usr/blueos/extensions/node-red:/data:rw",
"/etc/hostname:/etc/hostname:ro",
"/dev:/dev:rw",
"/:/home/workspace/host:rw"
],
"PortBindings": {
"80/tcp": [
{
"HostPort": "4242"
}
]
}
}
}
```

after that, the port 4242 will be used in this example

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.