-
Notifications
You must be signed in to change notification settings - Fork 21
/
devcontainer.json
87 lines (87 loc) · 2.39 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
83
84
85
86
87
{
"name": "DfE Teaching Vacancies",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
"remoteEnv": {
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},
"forwardPorts": [
3000,
3035,
5432,
6379
],
"postCreateCommand": "/bin/bash .devcontainer/post_create.sh",
"remoteUser": "teaching-vacancies",
"customizations": {
"vscode": {
"extensions": [
"actboy168.tasks",
"aki77.rails-db-schema",
"aki77.rails-i18n",
"aki77.rails-routes",
"castwide.solargraph",
"davidpallinder.rails-test-runner",
"jemmyw.rails-fast-nav",
"kaiwood.endwise",
"mtxr.sqltools",
"mtxr.sqltools-driver-pg",
"redhat.vscode-yaml",
"sianglim.slim",
"LoranKloeze.ruby-rubocop-revived",
"waderyan.gitblame",
"eamodio.gitlens",
"sleistner.vscode-fileutils",
"Shopify.ruby-extensions-pack",
"GitHub.copilot",
"donjayamanne.git-extension-pack",
"bierner.markdown-mermaid",
"KoichiSasada.vscode-rdbg"
],
"settings": {
// Get highlighting for local env files
"files.associations": {
".env.development": "env",
".env.local": "env",
".env.test": "env",
".env.test.local": "env"
},
"rails.viewFileExtension": "html.slim",
"railsRoutes.railsCommand": "bin/rails",
"railsTestRunner.rspecCommand": "bin/rspec",
// Set up Ruby extension
"ruby.format": "rubocop",
"ruby.lint": {
"rubocop": {
"useBundler": false,
"forceExclusion": true
}
},
"ruby.useLanguageServer": true,
"sqltools.connections": [
{
"name": "Rails Development Database",
"driver": "PostgreSQL",
"previewLimit": 50,
"server": "db",
"port": 5432,
"database": "tvs_development",
"username": "postgres",
"password": "postgres"
},
{
"name": "Rails Test Database",
"driver": "PostgreSQL",
"previewLimit": 50,
"server": "db",
"port": 5432,
"database": "tvs_test",
"username": "postgres",
"password": "postgres"
}
]
}
}
}
}