mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-10-08 04:31:29 +00:00
Track an empty no-op docker-compose.override.yml (with a .gitignore negation) so devcontainer.json's compose file list resolves without the initializeCommand hack, which is removed. Add USER_UID/USER_GID build args and drop the sudo chown from setup.sh. Correct the Elixir pin comment: the OTP suffix pins only the major, so the Erlang patch may still differ from .tool-versions.
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"name": "wanderer-dev",
|
|
"dockerComposeFile": [
|
|
"./docker-compose.yml",
|
|
"./docker-compose.override.yml"
|
|
],
|
|
"service": "wanderer",
|
|
"workspaceFolder": "/app",
|
|
"shutdownAction": "stopCompose",
|
|
"remoteUser": "developer",
|
|
"containerUser": "developer",
|
|
|
|
"postCreateCommand": "bash .devcontainer/setup.sh",
|
|
"postStartCommand": "bash .devcontainer/post-start.sh",
|
|
|
|
"remoteEnv": {
|
|
"PATH": "${containerEnv:HOME}/.local/bin:${containerEnv:PATH}"
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"JakeBecker.elixir-ls",
|
|
"phoenixframework.phoenix",
|
|
"pantajoe.vscode-elixir-credo",
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"eamodio.gitlens",
|
|
"mikestead.dotenv",
|
|
"ms-azuretools.vscode-docker"
|
|
],
|
|
"settings": {
|
|
"editor.formatOnSave": true,
|
|
"search.exclude": {
|
|
"**/doc": true,
|
|
"**/_build": true,
|
|
"**/deps": true
|
|
},
|
|
"elixirLS.dialyzerEnabled": false,
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
"terminal.integrated.profiles.linux": {
|
|
"zsh": {
|
|
"path": "/bin/zsh"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"forwardPorts": [4444],
|
|
"portsAttributes": {
|
|
"4444": {
|
|
"label": "Wanderer (Phoenix)",
|
|
"onAutoForward": "notify"
|
|
}
|
|
}
|
|
}
|