Skip to content
Snippets Groups Projects
Forked from Ad Aures / Castopod
779 commits behind the upstream repository.
devcontainer.json 1.54 KiB
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/docker-existing-dockerfile
{
  "name": "Castopod Host dev",
  "dockerComposeFile": ["../docker-compose.yml", "./docker-compose.yml"],
  "service": "app",
  "workspaceFolder": "/castopod-host",
  "postCreateCommand": "composer install && npm install && npm run build:static",
  "postStartCommand": "crontab ./crontab && cron && php spark serve --host 0.0.0.0",
  "postAttachCommand": "crontab ./crontab && service cron reload",
  "shutdownAction": "stopCompose",
  "settings": {
    "terminal.integrated.defaultProfile.linux": "bash",
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "[php]": {
      "editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
      "editor.formatOnSave": false
    },
    "css.validate": false,
    "color-highlight.markerType": "dot-before",
    "files.associations": {
      "*.xml.dist": "xml",
      "spark": "php"
    }
  },
  "extensions": [
    "bierner.lit-html",
    "bmewburn.vscode-intelephense-client",
    "bradlc.vscode-tailwindcss",
    "breezelin.phpstan",
    "dbaeumer.vscode-eslint",
    "eamodio.gitlens",
    "esbenp.prettier-vscode",
    "heybourn.headwind",
    "jamesbirtles.svelte-vscode",
    "kasik96.latte",
    "mikestead.dotenv",
    "naumovs.color-highlight",
    "streetsidesoftware.code-spell-checker",
    "stylelint.vscode-stylelint",
    "wayou.vscode-todo-highlight"
  ]
}