{ "name": "Immich - Backend and Frontend", "service": "immich-devcontainer-server", "dockerComposeFile": ["server/docker-compose.yml"], "customizations": { "vscode": { "extensions": [ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "svelte.svelte-vscode", "ms-vscode-remote.remote-containers", "foxundermoon.shell-format", "timonwong.shellcheck", "rvest.vs-code-prettier-eslint", "bluebrown.yamlfmt", "vkrishna04.cspell-sync", "vitest.explorer", "ms-playwright.playwright" ] } }, "forwardPorts": [3000, 9231, 9230, 2283], "portsAttributes": { "3000": { "label": "Immich - Frontend HTTP", "description": "The frontend of the Immich project", "onAutoForward": "openBrowserOnce" }, "2283": { "label": "Immich - API Server - HTTP", "description": "The API server of the Immich project" }, "9231": { "label": "Immich - API Server - DEBUG", "description": "The API server of the Immich project" }, "9230": { "label": "Immich - Workers - DEBUG", "description": "The workers of the Immich project" } }, "overrideCommand": true, "workspaceFolder": "/workspaces/immich", "remoteUser": "node", "postCreateCommand": "/immich-devcontainer/postCreate.sh", "userEnvProbe": "loginInteractiveShell", "remoteEnv": { // The location where your uploaded files are stored // If this starts with / or ./, it is a bind mount to a path // on host. Otherwise, it must be the value "vol-upload" // which is also the default loaded from .env. "UPLOAD_LOCATION": "${localEnv:UPLOAD_LOCATION}", // The location where your database files are stored. // If this starts with / or ./, it is a bind mount to a path // on host. Otherwise, it must be the value "vol-database" // which is also the default loaded from .env. "DB_DATA_LOCATION": "${localEnv:DB_DATA_LOCATION}", // Connection secret for postgres. You should change it to a random password // Please use only the characters `A-Za-z0-9`, without special characters or spaces "DB_PASSWORD": "${localEnv:DB_PASSWORD}", // The database username "DB_USERNAME": "${localEnv:DB_USERNAME}", // The database name "DB_DATABASE_NAME": "${localEnv:DB_DATABASE_NAME}" } }