mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
71 lines
2.6 KiB
JSON
71 lines
2.6 KiB
JSON
// 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.local",
|
|
"dockerComposeFile": ["./docker-compose.yml"],
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
"postCreateCommand": "composer install && pnpm install && pnpm run build:static && php spark migrate --all && php spark db:seed DevSeeder",
|
|
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && crontab .devcontainer/crontab && cron && php spark serve --host 0.0.0.0",
|
|
"postAttachCommand": "crontab .devcontainer/crontab && service cron reload",
|
|
"shutdownAction": "stopCompose",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/guiyomh/features/vim:0": {},
|
|
"ghcr.io/NicoVIII/devcontainer-features/pnpm:2": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"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",
|
|
"env": "dotenv",
|
|
".rsync-filter": "diff"
|
|
},
|
|
"json.schemas": [
|
|
{
|
|
"fileMatch": [
|
|
"plugins/**/manifest.json",
|
|
"tests/modules/Plugins/mocks/manifests/*.json",
|
|
"tests/modules/Plugins/mocks/plugins/**/manifest.json"
|
|
],
|
|
"url": "/workspaces/castopod/modules/Plugins/Manifest/manifest.schema.json"
|
|
}
|
|
]
|
|
},
|
|
"extensions": [
|
|
"astro-build.astro-vscode",
|
|
"bmewburn.vscode-intelephense-client",
|
|
"bradlc.vscode-tailwindcss",
|
|
"breezelin.phpstan",
|
|
"DavidAnson.vscode-markdownlint",
|
|
"dbaeumer.vscode-eslint",
|
|
"eamodio.gitlens",
|
|
"esbenp.prettier-vscode",
|
|
"heybourn.headwind",
|
|
"jamesbirtles.svelte-vscode",
|
|
"kasik96.latte",
|
|
"mikestead.dotenv",
|
|
"naumovs.color-highlight",
|
|
"pflannery.vscode-versionlens",
|
|
"runem.lit-plugin",
|
|
"streetsidesoftware.code-spell-checker",
|
|
"stylelint.vscode-stylelint",
|
|
"unifiedjs.vscode-mdx",
|
|
"wayou.vscode-todo-highlight",
|
|
"yzhang.markdown-all-in-one",
|
|
"42Crunch.vscode-openapi"
|
|
]
|
|
}
|
|
}
|
|
}
|