// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu { "name": "casa-dev", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/base:jammy", "features": { "ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {}, "ghcr.io/devcontainers-extra/features/ansible": {}, "ghcr.io/devcontainers/features/docker-outside-of-docker": {}, }, // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Configure tool-specific properties. // "customizations": {}, "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind", "source=${localWorkspaceFolder}/.devcontainer/.zshrc,target=/home/vscode/.zshrc,type=bind", "source=${localWorkspaceFolder}/../lms,target=/workspaces/lms,type=bind", "source=${localWorkspaceFolder}/../homeAssistant,target=/workspaces/homeAssistant,type=bind", "source=${localWorkspaceFolder}/../mosquitto,target=/workspaces/mosquitto,type=bind", "source=${localWorkspaceFolder}/../kb,target=/workspaces/kb,type=bind", "source=${localWorkspaceFolder}/.env.d/kube,target=/home/vscode/.kube,type=bind", "source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached", "source=${localEnv:HOME}/.ssh/id_ed25519,target=/home/vscode/.ssh/id_ed25519,type=bind,consistency=cached" ], "postCreateCommand": "bash .devcontainer/scripts/postCreate.sh", "customizations": { "vscode": { "extensions": [ "ms-kubernetes-tools.vscode-kubernetes-tools", "redhat.ansible", "mtxr.sqltools-driver-mysql", "stateful.runme", "yzhang.markdown-all-in-one", "davidanson.vscode-markdownlint", "eamodio.gitlens" ], "settings": { "terminal.integrated.defaultProfile.linux": "zsh" } } } }