2023-02-10 02:59:04 +00:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json.
|
|
|
|
{
|
|
|
|
"name": "WordPress Core Development",
|
|
|
|
"dockerComposeFile": "docker-compose.yml",
|
2023-02-16 03:48:26 +00:00
|
|
|
"service": "app",
|
2023-05-03 19:44:49 +00:00
|
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
2023-02-10 02:59:04 +00:00
|
|
|
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
|
|
"username": "wordpress"
|
|
|
|
},
|
|
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
|
|
"version": "14"
|
|
|
|
},
|
|
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
|
|
"ghcr.io/devcontainers/features/git:1": {}
|
|
|
|
},
|
|
|
|
"onCreateCommand": "sudo chmod +x .devcontainer/install-tools.sh && .devcontainer/install-tools.sh",
|
|
|
|
"postCreateCommand": "sudo chmod +x .devcontainer/setup.sh && .devcontainer/setup.sh",
|
|
|
|
"forwardPorts": [
|
|
|
|
8080
|
|
|
|
],
|
|
|
|
"remoteUser": "wordpress"
|
|
|
|
}
|