-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.devcontainer.json
82 lines (63 loc) · 2.8 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// See https://code.visualstudio.com/docs/remote/containers#_devcontainerjson-reference
{
// General ===================================================================
// A display name for the container.
"name": "RailsGoogleCloudQuickstart",
// A command string or list of command arguments to run after the container is
// created. The commands execute from the workspaceFolder in the container.
// Use && in a string to execute multiple commands. For example,
// "yarn install" or "apt-get update && apt-get install -y git". The array
// syntax ["yarn", "install"] will invoke the command (in this case yarn)
// directly without using a shell.
//
// It fires after your source code has been mounted, so you can also run shell
// scripts from your source tree. For example:
// bash scripts/install-dev-tools.sh. Not set by default.
"postCreateCommand": "dev-entrypoint rails db:migrate:status",
// Dockerfile Compose Config =================================================
// Required. Path or an ordered list of paths to Docker Compose files relative
// to the devcontainer.json file. Using an array is useful when extending your
// Docker Compose configuration. The order of the array matters since the
// contents of later files can override values set in previous ones.
"dockerComposeFile": [
"docker-compose.yml" // The compose file with the common services
],
"shutdownAction": "stopCompose",
// Required. The name of the service VS Code should connect to once running.
"service": "devcontainer",
// Only bring up the services required by the development container - VSCode
// will bring up all services unless this is configured:
"runServices": [
"postgres",
"chrome"
],
"workspaceFolder": "/workspaces/rails-google-cloud-quickstart",
// An array of extension IDs that specify the extensions to install inside the
// container when you first attach to it.
"extensions": [
// Integrates ESLint into VS Code:
"dbaeumer.vscode-eslint",
"KoichiSasada.vscode-rdbg",
// execute rubocop for current Ruby code.
"misogi.ruby-rubocop",
// A language server that provides intellisense, code completion, and inline
// documentation for Ruby:
"castwide.solargraph",
// Git Lens:
"eamodio.gitlens",
// PostCSS Language Support:
// - see https://tailwindcss.com/docs/editor-setup#syntax-support
"csstools.postcss",
// IntelliSense for VS Code:
// - see https://tailwindcss.com/docs/editor-setup#intelli-sense-for-vs-code
"bradlc.vscode-tailwindcss",
// Pull Request and Issue Provider for GitHub:
"github.vscode-pull-request-github",
// Use GitHub Copilot when available:
"github.copilot",
// Format ERB files:
"aliariff.vscode-erb-beautify",
// SVG preview, etc:
"jock.svg"
]
}