mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
* fix: devcontainer perms * Fix host based auth * use path tricks to get to volume mount, but remain compat with current meaning of variables * eureka, i think * bit of cleanup
68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"name": "Immich - Backend, Frontend and ML",
|
|
"service": "immich-server",
|
|
"runServices": [
|
|
"immich-server",
|
|
"redis",
|
|
"database",
|
|
"immich-machine-learning"
|
|
],
|
|
"dockerComposeFile": [
|
|
"../docker/docker-compose.dev.yml",
|
|
"./server/container-compose-overrides.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",
|
|
"ms-azuretools.vscode-docker"
|
|
]
|
|
}
|
|
},
|
|
"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",
|
|
"userEnvProbe": "loginInteractiveShell",
|
|
"remoteEnv": {
|
|
// The location where your uploaded files are stored
|
|
"UPLOAD_LOCATION": "${localEnv:UPLOAD_LOCATION:./library}",
|
|
// 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:postgres}",
|
|
// The database username
|
|
"DB_USERNAME": "${localEnv:DB_USERNAME:postgres}",
|
|
// The database name
|
|
"DB_DATABASE_NAME": "${localEnv:DB_DATABASE_NAME:immich}"
|
|
}
|
|
}
|