Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
61 lines
2.1 KiB
JSON
61 lines
2.1 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
|
{
|
|
"name": "Winter on PHP 8.4",
|
|
"image": "ghcr.io/wintercms/winter:latest",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
"installZsh": true,
|
|
"configureZshAsDefaultShell": true,
|
|
"username": "winter",
|
|
"upgradePackages": false
|
|
},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
// Comment the following feature if you wish to bootstrap and configure Winter manually (ie. you wish to use this for your own project)
|
|
"./local-features/bootstrap-winter": "latest"
|
|
},
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/winter,type=bind",
|
|
"workspaceFolder": "/winter",
|
|
"containerEnv": {
|
|
"APP_DEBUG": "true",
|
|
"XDEBUG_MODE": "debug",
|
|
"ROUTES_CACHE": "false",
|
|
"ASSET_CACHE": "false",
|
|
"DB_CONNECTION": "sqlite",
|
|
"DB_DATABASE": "${containerWorkspaceFolder}/storage/database.sqlite"
|
|
},
|
|
"forwardPorts": [8000],
|
|
"portsAttributes": {
|
|
"8000": {
|
|
"label": "Preview Winter installation",
|
|
"onAutoForward": "openPreview"
|
|
},
|
|
"9003": {
|
|
"label": "Xdebug",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"php.validate.executablePath": "/usr/local/bin/php",
|
|
"phpcs.executablePath": "${containerWorkspaceFolder}/vendor/bin/phpcs"
|
|
},
|
|
"extensions": [
|
|
"xdebug.php-debug",
|
|
"bmewburn.vscode-intelephense-client",
|
|
"shevaua.phpcs",
|
|
"swordev.phpstan",
|
|
"wintercms.winter-cms"
|
|
]
|
|
},
|
|
"codespaces": {
|
|
"openFiles": [
|
|
".devcontainer/README.md"
|
|
]
|
|
}
|
|
},
|
|
"postAttachCommand": "nohup ${containerWorkspaceFolder}/.devcontainer/run-frankenphp.sh > /dev/null 2>&1",
|
|
"remoteUser": "winter"
|
|
}
|