42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "kirche-einfach",
|
|
"dockerComposeFile": ["../docker-compose.yml"],
|
|
"service": "api",
|
|
"runServices": ["api", "frontend", "langflow", "lfx"],
|
|
"workspaceFolder": "/srv/kirche-einfach",
|
|
"remoteUser": "vscode",
|
|
"containerEnv": {
|
|
"APP_ENV": "dev",
|
|
"FORGEJO_USERNAME": "jonas"
|
|
},
|
|
"mounts": [
|
|
"source=${localEnv:USERPROFILE}/.ssh,target=/mnt/host-ssh,type=bind,readonly",
|
|
"source=kirche-opencode-share,target=/home/vscode/.local/share/opencode,type=volume",
|
|
"source=kirche-opencode-config,target=/home/vscode/.config/opencode,type=volume"
|
|
],
|
|
"features": {
|
|
// moby:false — python:3.12-slim is Debian trixie now, whose repos have
|
|
// no moby-cli (feature default). false installs the upstream Docker CE
|
|
// CLI instead, which supports trixie.
|
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
|
|
"moby": false
|
|
}
|
|
},
|
|
"overrideCommand": false,
|
|
"postCreateCommand": "sudo -E bash .devcontainer/setup.sh",
|
|
"postStartCommand": "bash .devcontainer/postStart.sh",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"charliermarsh.ruff",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode"
|
|
],
|
|
"settings": {
|
|
"python.defaultInterpreterPath": "/opt/venv/bin/python"
|
|
}
|
|
}
|
|
}
|
|
}
|