2020-05-29 12:37:35 +02:00
|
|
|
// 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
|
|
|
|
{
|
2022-02-19 16:06:11 +00:00
|
|
|
"name": "Castopod dev",
|
2021-05-24 10:08:15 +00:00
|
|
|
"dockerComposeFile": ["../docker-compose.yml", "./docker-compose.yml"],
|
2021-05-06 14:00:48 +00:00
|
|
|
"service": "app",
|
2022-02-19 16:06:11 +00:00
|
|
|
"workspaceFolder": "/castopod",
|
2023-02-21 17:27:45 +00:00
|
|
|
"postCreateCommand": "composer install && pnpm install && pnpm run build:static",
|
2021-07-24 08:49:16 +00:00
|
|
|
"postStartCommand": "crontab ./crontab && cron && php spark serve --host 0.0.0.0",
|
2021-05-24 10:08:15 +00:00
|
|
|
"postAttachCommand": "crontab ./crontab && service cron reload",
|
|
|
|
"shutdownAction": "stopCompose",
|
2020-06-05 13:54:40 +00:00
|
|
|
"settings": {
|
2020-06-12 19:31:10 +00:00
|
|
|
"editor.formatOnSave": true,
|
2021-07-26 13:10:46 +00:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
2020-06-12 19:31:10 +00:00
|
|
|
"[php]": {
|
2021-05-19 16:35:13 +00:00
|
|
|
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
|
|
|
|
"editor.formatOnSave": false
|
2020-06-12 19:31:10 +00:00
|
|
|
},
|
2021-07-26 17:33:34 +00:00
|
|
|
"css.validate": false,
|
2021-05-12 14:00:25 +00:00
|
|
|
"color-highlight.markerType": "dot-before",
|
|
|
|
"files.associations": {
|
|
|
|
"*.xml.dist": "xml",
|
2022-08-31 10:11:17 +00:00
|
|
|
"spark": "php",
|
|
|
|
"env": "dotenv",
|
|
|
|
".rsync-filter": "diff"
|
2021-05-12 14:00:25 +00:00
|
|
|
}
|
2020-06-05 13:54:40 +00:00
|
|
|
},
|
|
|
|
"extensions": [
|
2021-05-06 14:00:48 +00:00
|
|
|
"bmewburn.vscode-intelephense-client",
|
|
|
|
"bradlc.vscode-tailwindcss",
|
2021-07-29 09:41:36 +00:00
|
|
|
"breezelin.phpstan",
|
2022-10-15 11:22:08 +00:00
|
|
|
"DavidAnson.vscode-markdownlint",
|
2021-05-06 14:00:48 +00:00
|
|
|
"dbaeumer.vscode-eslint",
|
2021-05-12 14:00:25 +00:00
|
|
|
"eamodio.gitlens",
|
2021-07-29 09:41:36 +00:00
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"heybourn.headwind",
|
|
|
|
"jamesbirtles.svelte-vscode",
|
|
|
|
"kasik96.latte",
|
|
|
|
"mikestead.dotenv",
|
|
|
|
"naumovs.color-highlight",
|
2022-08-31 10:11:17 +00:00
|
|
|
"pflannery.vscode-versionlens",
|
2021-08-10 14:25:13 +00:00
|
|
|
"runem.lit-plugin",
|
2021-07-29 09:41:36 +00:00
|
|
|
"streetsidesoftware.code-spell-checker",
|
|
|
|
"stylelint.vscode-stylelint",
|
2022-10-15 11:22:08 +00:00
|
|
|
"wayou.vscode-todo-highlight",
|
|
|
|
"yzhang.markdown-all-in-one"
|
2023-02-21 17:27:45 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
|
|
"ghcr.io/guiyomh/features/vim:0": {},
|
|
|
|
"ghcr.io/NicoVIII/devcontainer-features/pnpm:2": {}
|
|
|
|
}
|
2020-06-05 13:54:40 +00:00
|
|
|
}
|