aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
blob: 1e05cfed40eb9b74270d342ef17142b6df299b83 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
{
	"name": "ejabberd",
	// "dockerComposeFile": "docker-compose.yml",
	"build": {
		"dockerfile": "Dockerfile",
		"args": {
			"VARIANT": "latest" // 1.11.4
		}	
	},
	"workspaceFolder": "/workspace",

	// Set *default* container specific settings.json values on container create.
	"settings": {
		"terminal.integrated.defaultProfile.linux": "/bin/zsh",
	},

	// Add the IDs of extensions you want installed when the container is created.
	"extensions": ["pgourlain.erlang", "jakebecker.elixir-ls"],

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	"forwardPorts": [5222, 5280, 5269],

	// Use 'postCreateCommand' to run commands after the container is created.
	// "postCreateCommand": "sh .devcontainer/post-create.sh",

	// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
	"remoteUser": "vscode",
	"portsAttributes": {
		"1883": {
			"label": "MQTT"
		},
		"5222": {
			"label": "XMPP C2S"
		},
		"5223": {
			"label": "Legacy XMPP C2S"
		},
		"5269": {
			"label": "XMPP S2S"
		},
		"5280": {
			"label": "ejabberd HTTP"
		},
		"5443": {
			"label": "ejabberd HTTPS"
		}
	}
}