mirror of
https://github.com/immich-app/immich.git
synced 2026-02-21 10:10:33 +09:00
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docker / pre-job (push) Has been cancelled
Docker / Re-Tag ML () (push) Has been cancelled
Docker / Re-Tag ML (-armnn) (push) Has been cancelled
Docker / Re-Tag ML (-cuda) (push) Has been cancelled
Docker / Re-Tag ML (-openvino) (push) Has been cancelled
Docker / Re-Tag ML (-rknn) (push) Has been cancelled
Docker / Re-Tag ML (-rocm) (push) Has been cancelled
Docker / Re-Tag Server () (push) Has been cancelled
Docker / Build and Push ML (armnn, linux/arm64, -armnn) (push) Has been cancelled
Docker / Build and Push ML (cpu) (push) Has been cancelled
Docker / Build and Push ML (cuda, linux/amd64, -cuda) (push) Has been cancelled
Docker / Build and Push ML (openvino, linux/amd64, -openvino) (push) Has been cancelled
Docker / Build and Push ML (rknn, linux/arm64, -rknn) (push) Has been cancelled
Docker / Build and Push ML (rocm, linux/amd64, {"linux/amd64": "mich"}, -rocm) (push) Has been cancelled
Docker / Build and Push Server (push) Has been cancelled
Docker / Docker Build & Push Server Success (push) Has been cancelled
Docker / Docker Build & Push ML Success (push) Has been cancelled
Docs build / pre-job (push) Has been cancelled
Docs build / Docs Build (push) Has been cancelled
Zizmor / Zizmor (push) Has been cancelled
Manage release PR / bump (push) Has been cancelled
Static Code Analysis / pre-job (push) Has been cancelled
Static Code Analysis / Run Dart Code Analysis (push) Has been cancelled
Test / pre-job (push) Has been cancelled
Test / Test & Lint Server (push) Has been cancelled
Test / Unit Test CLI (push) Has been cancelled
Test / Unit Test CLI (Windows) (push) Has been cancelled
Test / Lint Web (push) Has been cancelled
Test / Test Web (push) Has been cancelled
Test / Test i18n (push) Has been cancelled
Test / End-to-End Lint (push) Has been cancelled
Test / Medium Tests (Server) (push) Has been cancelled
Test / End-to-End Tests (Server & CLI) (ubuntu-24.04-arm) (push) Has been cancelled
Test / End-to-End Tests (Server & CLI) (ubuntu-latest) (push) Has been cancelled
Test / End-to-End Tests (Web) (ubuntu-24.04-arm) (push) Has been cancelled
Test / End-to-End Tests (Web) (ubuntu-latest) (push) Has been cancelled
Test / End-to-End Tests Success (push) Has been cancelled
Test / Unit Test Mobile (push) Has been cancelled
Test / Unit Test ML (push) Has been cancelled
Test / .github Files Formatting (push) Has been cancelled
Test / ShellCheck (push) Has been cancelled
Test / OpenAPI Clients (push) Has been cancelled
Test / SQL Schema Checks (push) Has been cancelled
refactor: move devcontainer specific tasks to devcontainer.json
148 lines
4.8 KiB
JSON
148 lines
4.8 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"
|
|
],
|
|
"settings": {
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Fix Permissions, Install Dependencies",
|
|
"type": "shell",
|
|
"command": "[ -f /immich-devcontainer/container-start.sh ] && /immich-devcontainer/container-start.sh || exit 0",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "dedicated",
|
|
"showReuseMessage": true,
|
|
"clear": false,
|
|
"group": "Devcontainer tasks",
|
|
"close": true
|
|
},
|
|
"runOptions": {
|
|
"runOn": "default"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Immich API Server (Nest)",
|
|
"dependsOn": ["Fix Permissions, Install Dependencies"],
|
|
"type": "shell",
|
|
"command": "[ -f /immich-devcontainer/container-start-backend.sh ] && /immich-devcontainer/container-start-backend.sh || exit 0",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "dedicated",
|
|
"showReuseMessage": true,
|
|
"clear": false,
|
|
"group": "Devcontainer tasks",
|
|
"close": true
|
|
},
|
|
"runOptions": {
|
|
"runOn": "folderOpen"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Immich Web Server (Vite)",
|
|
"dependsOn": ["Fix Permissions, Install Dependencies"],
|
|
"type": "shell",
|
|
"command": "[ -f /immich-devcontainer/container-start-frontend.sh ] && /immich-devcontainer/container-start-frontend.sh || exit 0",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "dedicated",
|
|
"showReuseMessage": true,
|
|
"clear": false,
|
|
"group": "Devcontainer tasks",
|
|
"close": true
|
|
},
|
|
"runOptions": {
|
|
"runOn": "folderOpen"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build Immich CLI",
|
|
"type": "shell",
|
|
"command": "pnpm --filter cli build:dev"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
// https://github.com/devcontainers/features/issues/1466
|
|
"moby": false
|
|
}
|
|
},
|
|
"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}"
|
|
}
|
|
}
|