aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-11-16 13:23:51 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-16 13:23:51 +0100
commitc5b741d98fed4b04c1017f0ace3d6b6566ea7bba (patch)
tree67e4859cb8b76d7d067c8e0d71311bb285fe00e3 /.devcontainer/devcontainer.json
parenta0e3fac47e2f0afbb0346da765bf8942c5ad3984 (diff)
Experiment Development Containers / GitHub Codespaces (#4859)
* Experiment Development Containers / GitHub Codespaces https://containers.dev/ https://github.com/features/codespaces * Fix tests
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 000000000..50318d75f
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,37 @@
+// For format details, see https://aka.ms/devcontainer.json
+{
+ "name": "FreshRSS-dev-Alpine",
+ "build": {
+ "dockerfile": "Dockerfile"
+ },
+ "extensions": [
+ "bmewburn.vscode-intelephense-client",
+ "DavidAnson.vscode-markdownlint",
+ "dbaeumer.vscode-eslint",
+ "eamodio.gitlens",
+ "EditorConfig.EditorConfig",
+ "foxundermoon.shell-format",
+ "mrmlnc.vscode-apache",
+ "redhat.vscode-yaml",
+ "timonwong.shellcheck",
+ "ValeryanM.vscode-phpsab"
+ ],
+ "forwardPorts": [
+ 8080
+ ],
+ "portsAttributes": {
+ "8080": {
+ "label": "FreshRSS Apache",
+ "onAutoForward": "notify"
+ }
+ },
+ "mounts": [
+ {
+ "source": "vscode-freshrss-data",
+ "target": "/home/developer/freshrss-data",
+ "type": "volume"
+ }
+ ],
+ "remoteUser": "developer",
+ "postCreateCommand": "sudo .devcontainer/postCreateCommand.sh"
+}