mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
|
|
{
|
|
"name": "Komodo",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
//"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
|
|
"dockerComposeFile": ["dev.compose.yaml"],
|
|
"workspaceFolder": "/workspace",
|
|
"service": "dev",
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20.12.2"
|
|
},
|
|
"ghcr.io/devcontainers-community/features/deno:1": {
|
|
|
|
}
|
|
},
|
|
|
|
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
|
|
"mounts": [
|
|
{
|
|
"source": "devcontainer-cargo-cache-${devcontainerId}",
|
|
"target": "/usr/local/cargo",
|
|
"type": "volume"
|
|
}
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [
|
|
9121
|
|
],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "./.devcontainer/postCreate.sh",
|
|
|
|
"runServices": [
|
|
"db"
|
|
]
|
|
|
|
// Configure tool-specific properties.
|
|
// "customizations": {},
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|