Files
FreshRSS/.devcontainer/devcontainer.json
Alexandre Alapetite 0292b2f1f3 Improve Dev Container (#5423)
* Improve Dev Container
PHPStan was failing in Dev Container

* Update Docker to Alpine Linux 3.18
* New DATA_PATH environment variable

* README
2023-05-28 18:03:34 +02:00

45 lines
966 B
JSON

// For format details, see https://aka.ms/devcontainer.json
{
"name": "FreshRSS-dev-Alpine",
"build": {
"dockerfile": "Dockerfile"
},
"containerEnv": {
"DATA_PATH": "/home/developer/freshrss-data"
},
"customizations": {
"codespaces": {
"openFiles": [
".devcontainer/README.md"
]
},
"vscode": {
"extensions": [
"bmewburn.vscode-intelephense-client",
"DavidAnson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"EditorConfig.EditorConfig",
"foxundermoon.shell-format",
"GitHub.vscode-pull-request-github",
"mrmlnc.vscode-apache",
"ms-azuretools.vscode-docker",
"redhat.vscode-yaml",
"timonwong.shellcheck",
"ValeryanM.vscode-phpsab"
]
}
},
"forwardPorts": [
8080
],
"portsAttributes": {
"8080": {
"label": "FreshRSS Apache",
"onAutoForward": "notify"
}
},
"remoteUser": "developer",
"postCreateCommand": "sudo .devcontainer/postCreateCommand.sh"
}