- docker-compose.yml with app/db/langflow/lfx services and healthchecks - Dockerfile.lfx (stateless flow runtime on :6004) - init-db.sql (langflow + test databases) - devcontainer.json switched to compose mode with runServices - setup.sh waits for compose services and requires .env
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"name": "kirche-einfach",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"runServices": ["db", "langflow", "lfx"],
|
|
"mounts": [
|
|
"source=${localEnv:USERPROFILE}/.ssh,target=/mnt/host-ssh,type=bind,readonly"
|
|
],
|
|
"remoteUser": "vscode",
|
|
"containerEnv": {
|
|
"FORGEJO_USERNAME": "jonas"
|
|
},
|
|
"overrideCommand": false,
|
|
"workspaceFolder": "/workspaces/kirche-einfach",
|
|
"postCreateCommand": "sudo -E bash .devcontainer/setup.sh",
|
|
"postStartCommand": "mkdir -p ~/.ssh && cp /mnt/host-ssh/id_rsa /mnt/host-ssh/id_rsa.pub ~/.ssh/ && cp /mnt/host-ssh/known_hosts ~/.ssh/ 2>/dev/null; ssh-keyscan -t ed25519,rsa gitlab.jonas-miederer.com >> ~/.ssh/known_hosts 2>/dev/null; chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa && chmod 644 ~/.ssh/id_rsa.pub ~/.ssh/known_hosts",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"charliermarsh.ruff",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode"
|
|
],
|
|
"settings": {
|
|
"python.defaultInterpreterPath": "/workspaces/kirche-einfach/backend/.venv/bin/python"
|
|
}
|
|
}
|
|
}
|
|
}
|