|
1 | 1 | { |
2 | | - "name": "Sourcebot Development", |
3 | | - "dockerComposeFile": "docker-compose.yml", |
4 | | - "service": "devcontainer", |
5 | | - "workspaceFolder": "/workspaces/sourcebot", |
| 2 | + "name": "Sourcebot Development", |
| 3 | + "dockerComposeFile": "docker-compose.yml", |
| 4 | + "service": "devcontainer", |
| 5 | + "workspaceFolder": "/workspaces/sourcebot", |
6 | 6 |
|
7 | | - "features": { |
8 | | - "ghcr.io/devcontainers/features/git:1": {}, |
9 | | - "ghcr.io/devcontainers/features/github-cli:1": {} |
10 | | - }, |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/git:1": {}, |
| 9 | + "ghcr.io/devcontainers/features/github-cli:1": {} |
| 10 | + }, |
11 | 11 |
|
12 | | - "forwardPorts": [3000], |
13 | | - "portsAttributes": { |
14 | | - "3000": { "label": "Web App", "onAutoForward": "notify" } |
15 | | - }, |
| 12 | + "remoteEnv": { |
| 13 | + "AUTH_URL": "https://${containerEnv:CODESPACE_NAME}-3000.app.github.dev" |
| 14 | + }, |
16 | 15 |
|
17 | | - "initializeCommand": "git submodule update --init --recursive", |
18 | | - "postCreateCommand": "bash .devcontainer/scripts/post-create.sh", |
19 | | - "postStartCommand": "bash .devcontainer/scripts/post-start.sh", |
| 16 | + "forwardPorts": [3000], |
| 17 | + "portsAttributes": { |
| 18 | + "3000": { "label": "Web App", "onAutoForward": "notify" } |
| 19 | + }, |
20 | 20 |
|
21 | | - "customizations": { |
22 | | - "vscode": { |
23 | | - "extensions": [ |
24 | | - "dbaeumer.vscode-eslint", |
25 | | - "bradlc.vscode-tailwindcss", |
26 | | - "Prisma.prisma", |
27 | | - "esbenp.prettier-vscode", |
28 | | - "golang.go", |
29 | | - "ms-azuretools.vscode-docker", |
30 | | - "mikestead.dotenv", |
31 | | - "eamodio.gitlens" |
32 | | - ], |
33 | | - "settings": { |
34 | | - "editor.formatOnSave": true, |
35 | | - "editor.defaultFormatter": "esbenp.prettier-vscode", |
36 | | - "[typescript]": { |
37 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
38 | | - }, |
39 | | - "[typescriptreact]": { |
40 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
41 | | - }, |
42 | | - "[prisma]": { |
43 | | - "editor.defaultFormatter": "Prisma.prisma" |
| 21 | + "initializeCommand": "git submodule update --init --recursive", |
| 22 | + "postCreateCommand": "bash .devcontainer/scripts/post-create.sh", |
| 23 | + "postStartCommand": "bash .devcontainer/scripts/post-start.sh", |
| 24 | + |
| 25 | + "customizations": { |
| 26 | + "vscode": { |
| 27 | + "extensions": [ |
| 28 | + "dbaeumer.vscode-eslint", |
| 29 | + "bradlc.vscode-tailwindcss", |
| 30 | + "Prisma.prisma", |
| 31 | + "esbenp.prettier-vscode", |
| 32 | + "golang.go", |
| 33 | + "eamodio.gitlens" |
| 34 | + ], |
| 35 | + "settings": { |
| 36 | + "editor.formatOnSave": false, |
| 37 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 38 | + "[typescript]": { |
| 39 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 40 | + }, |
| 41 | + "[typescriptreact]": { |
| 42 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 43 | + }, |
| 44 | + "[prisma]": { |
| 45 | + "editor.defaultFormatter": "Prisma.prisma" |
| 46 | + } |
| 47 | + } |
44 | 48 | } |
45 | | - } |
46 | | - } |
47 | | - }, |
| 49 | + }, |
48 | 50 |
|
49 | | - "remoteUser": "node" |
| 51 | + "remoteUser": "node" |
50 | 52 | } |
0 commit comments