|
1 | 1 | {
|
2 |
| - "name": "Immich", |
3 |
| - "service": "immich-devcontainer", |
4 |
| - "dockerComposeFile": [ |
5 |
| - "docker-compose.yml", |
6 |
| - "../docker/docker-compose.dev.yml" |
7 |
| - ], |
| 2 | + "name": "Immich - Backend and Frontend", |
| 3 | + "service": "immich-devcontainer-server", |
| 4 | + "dockerComposeFile": ["server/docker-compose.yml"], |
8 | 5 | "customizations": {
|
9 | 6 | "vscode": {
|
10 | 7 | "extensions": [
|
11 |
| - "Dart-Code.dart-code", |
12 |
| - "Dart-Code.flutter", |
13 | 8 | "dbaeumer.vscode-eslint",
|
14 |
| - "dcmdev.dcm-vscode-extension", |
15 | 9 | "esbenp.prettier-vscode",
|
16 |
| - "svelte.svelte-vscode" |
| 10 | + "svelte.svelte-vscode", |
| 11 | + "ms-vscode-remote.remote-containers", |
| 12 | + "foxundermoon.shell-format", |
| 13 | + "timonwong.shellcheck", |
| 14 | + "rvest.vs-code-prettier-eslint", |
| 15 | + "bluebrown.yamlfmt", |
| 16 | + "vkrishna04.cspell-sync", |
| 17 | + "vitest.explorer", |
| 18 | + "ms-playwright.playwright" |
17 | 19 | ]
|
18 | 20 | }
|
19 | 21 | },
|
20 |
| - "forwardPorts": [], |
21 |
| - "initializeCommand": "bash .devcontainer/scripts/initializeCommand.sh", |
22 |
| - "onCreateCommand": "bash .devcontainer/scripts/onCreateCommand.sh", |
| 22 | + "forwardPorts": [3000, 9231, 9230, 2283], |
| 23 | + "portsAttributes": { |
| 24 | + "3000": { |
| 25 | + "label": "Immich - Frontend HTTP", |
| 26 | + "description": "The frontend of the Immich project", |
| 27 | + "onAutoForward": "openBrowserOnce" |
| 28 | + }, |
| 29 | + "2283": { |
| 30 | + "label": "Immich - API Server - HTTP", |
| 31 | + "description": "The API server of the Immich project" |
| 32 | + }, |
| 33 | + "9231": { |
| 34 | + "label": "Immich - API Server - DEBUG", |
| 35 | + "description": "The API server of the Immich project" |
| 36 | + }, |
| 37 | + "9230": { |
| 38 | + "label": "Immich - Workers - DEBUG", |
| 39 | + "description": "The workers of the Immich project" |
| 40 | + } |
| 41 | + }, |
23 | 42 | "overrideCommand": true,
|
24 |
| - "workspaceFolder": "/immich", |
25 |
| - "remoteUser": "node" |
| 43 | + "workspaceFolder": "/workspaces/immich", |
| 44 | + "remoteUser": "node", |
| 45 | + "postCreateCommand": "/workspaces/postCreate.sh" |
26 | 46 | }
|
0 commit comments