Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the caps are all wrong and hostIp being null has very specific meaning compared to not being present and you probably don't mean that

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

share a good example file.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,41 @@
"id": "test-subnet-resource-id"
},
"applicationSharingPolicy": "Personal",
"customServices": [
{
"name": "rstudio-workbench",
"image": {
"type": "docker",
"reference": "ghcr.io/azure/rstudio-workbench:latest"
},
"environmentVariables": {
"RSP_LICENSE": {
"type": "local",
"value": "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"
}
},
"docker": {
"privileged": true
},
"endpoints": [
{
"protocol": "http",
"name": "connect",
"target": 8787,
"published": 4444,
"hostIp": null
}
],
"volumes": [
{
"type": "bind",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doing this for this image is wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please share a good example.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"source": "/mnt/azureuser/",
"target": "/home/testuser/",
"readOnly": true
}
]
}
],
"sshSettings": {
"sshPublicAccess": "Disabled"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2023-04-01",
"customServices": [
{
"name": "rstudio-workbench",
"image": {
"type": "docker",
"reference": "ghcr.io/azure/rstudio-workbench:latest"
},
"environmentVariables": {
"RSP_LICENSE": {
"type": "local",
"value": "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"
}
},
"docker": {
"privileged": true
},
"endpoints": [
{
"protocol": "http",
"name": "connect",
"target": 8888,
"published": 4444,
"hostIp": null
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please share a good example file.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
],
"volumes": [
{
"type": "bind",
"source": "/mnt/azureuser/",
"target": "/home/azureuser/",
"readOnly": true
}
]
}
]
},
"responses": {
"200": {}
}
}
Loading