Files
supersonic/.devcontainer/devcontainer.json
T
2025-11-23 16:51:52 +00:00

23 lines
868 B
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/go .
{
"name": "Supersonic",
"dockerFile": "Dockerfile",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"desktop-lite": {
"password": "your_password",
"webPort": "6080",
"vncPort": "5901"
},
},
"containerEnv": {
"VNC_RESOLUTION": "1920x1080x24",
},
"onCreateCommand": {
"log": "echo 'Starting post-create script...'",
"go": ".devcontainer/init-go.sh",
"config": "bash -c 'mkdir -p ~/.config/supersonic && (cp .devcontainer/custom-config.toml ~/.config/supersonic/config.toml 2> /dev/null || cp .devcontainer/default-config.toml ~/.config/supersonic/config.toml)'",
"keyring": "bash -c '.devcontainer/init-keychain.sh'",
},
}