{ "name": "LANraragi", "build": { "dockerfile": "Dockerfile" }, // Set *default* container specific settings.json values on container create. "settings": { "terminal.integrated.shell.linux": "/bin/zsh", "perl.perltidy": "perltidy", "perltidy-more.executable": "perltidy", "perltidy-more.profile": ".../.perltidyrc", "editor.formatOnSave": true, "eslint.format.enable": true, "eslint.options": { "configFile": ".eslintrc.json" }, "[perl]": { "editor.defaultFormatter": "Kaktus.perltidy-more" }, "[javascript]": { "editor.defaultFormatter": "dbaeumer.vscode-eslint" }, "files.associations": { "*.tt2": "html", "*.pm": "perl" }, }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "kraih.mojolicious", "cfgweb.vscode-perl", "kaktus.perltidy-more", "davidanson.vscode-markdownlint", "madprops.fortune", "dbaeumer.vscode-eslint" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [ 3000 ], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "npm run lanraragi-installer install-front && sudo service redis-server start", // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "root" }