QutBioacoustics/baw-server

View on GitHub
.devcontainer/devcontainer.json

Summary

Maintainability
Test Coverage
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
{
  "name": "Existing Docker Compose (Extend)",
  // Update the 'dockerComposeFile' list if you have more compose files or use different names.
  // The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
  "dockerComposeFile": [
    "../docker-compose.yml",
    "docker-compose.yml"
  ],
  // The 'service' property is the name of the service for the container that VS Code should
  // use. Update this value and .devcontainer/docker-compose.yml to the real service name.
  "service": "web",
  // The optional 'workspaceFolder' property is the path VS Code should open by default when
  // connected. This is typically a file mount in .devcontainer/docker-compose.yml
  "workspaceFolder": "/home/baw_web/baw-server",
  // Use 'settings' to set *default* container specific settings.json values on container create.
  // You can edit these settings after create using File > Preferences > Settings > Remote.
  "settings": {
    // This will ignore your local shell user setting for Linux since shells like zsh are typically
    // not in base container images. You can also update this to an specific shell to ensure VS Code
    // uses the right one for terminals and tasks. For example, /bin/bash (or /bin/ash for Alpine).
    "terminal.integrated.defaultProfile.linux": "bash"
  },
  // Uncomment the next line if you want start specific services in your Docker Compose config.
  // "runServices": [],
  // Uncomment the next line if you want to keep your containers running after VS Code shuts down.
  // "shutdownAction": "none",
  // Uncomment the next line to run commands after the container is created - for example installing git.
  "postCreateCommand": "/home/baw_web/baw-server/provision/entrypoint.sh",
  // Add the IDs of extensions you want installed when the container is created in the array below.
  "extensions": [
    "rebornix.ruby",
    "misogi.ruby-rubocop",
    "castwide.solargraph",
    "bung87.vscode-gemfile",
    "streetsidesoftware.code-spell-checker",
    "EditorConfig.EditorConfig",
    "ms-vscode-remote.vscode-remote-extensionpack",
    "connorshea.vscode-ruby-test-adapter",
    "knisterpeter.vscode-github",
    "castwide.ruby-debug",
    "pavlitsky.yard",
    "stevejpurves.cucumber",
    "ms-azuretools.vscode-docker",
    "GitHub.vscode-pull-request-github"
  ]
}