forked from cogini/phoenix_container_example_old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
37 lines (28 loc) · 1.11 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "App dev",
"dockerComposeFile": "../docker-compose.yml",
// Name of the service for the container that VS Code should // use.
// Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "dev",
// Start specific services in your Docker Compose config.
"runServices": ["dev"],
"workspaceFolder": "/app",
// Connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "app",
// Bind mount local source code into new container.
// "remoteEnv": {
// "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
// },
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// IDs of extensions you want installed when the container is created.
"extensions": [
"ms-azuretools.vscode-docker"
]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "docker --version",
}