Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/.devcontainer/devcontainer.json

47 lines
1.7 KiB

{
"name": "Blockscout Elixir",
"dockerComposeFile": "docker-compose.yml",
"service": "elixir",
"workspaceFolder": "/workspace",
"postCreateCommand": {
"safe-directory": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"deps": "mix deps.get"
},
"remoteEnv": {
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/.devcontainer/bin"
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"JakeBecker.elixir-ls",
"ckolkman.vscode-postgres",
"GitHub.copilot",
"GitHub.copilot-chat",
"GitHub.vscode-pull-request-github"
]
}
},
"features": {
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
"forwardPorts": [
4000,
4001,
5432
],
// Uncomment and adjust the private key path to the one you use to authenticate on GitHub
// if you want to have ability to push to GitHub from the container.
// "mounts": [
// "source=${localEnv:HOME}/.ssh/known_hosts,target=/home/vscode/.ssh/known_hosts,type=bind,consistency=cached",
// "source=${localEnv:HOME}/.ssh/config,target=/home/vscode/.ssh/config,type=bind,consistency=cached",
// // Make sure that the private key can be used to authenticate on GitHub
// "source=${localEnv:HOME}/.ssh/id_rsa,target=/home/vscode/.ssh/id_rsa,type=bind,consistency=cached"
// ],
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}