mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 16:03:25 +00:00
40758a83d5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/elixir-phoenix-postgres
|
|
{
|
|
"name": "Elixir, Phoenix, Node.js & PostgresSQL (Community)",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "elixir",
|
|
"workspaceFolder": "/workspace",
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"sqltools.connections": [{
|
|
"name": "Container database",
|
|
"driver": "PostgreSQL",
|
|
"previewLimit": 50,
|
|
"server": "localhost",
|
|
"port": 5432,
|
|
"database": "postgres",
|
|
"username": "postgres",
|
|
"password": "postgres"
|
|
}]
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"jakebecker.elixir-ls",
|
|
"mtxr.sqltools",
|
|
"mtxr.sqltools-driver-pg"
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [4000, 4001, 5432],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
// "postCreateCommand": "mix deps.get",
|
|
// "runArgs": ["--userns=keep-id", "--privileged"],
|
|
// "containerUser": "vscode",
|
|
// "containerEnv": {
|
|
// "HOME": "/home/vscode",
|
|
// },
|
|
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
|
|
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode"
|
|
}
|