summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/.devcontainer/devcontainer.json
blob: 1f8a6221ef6cbf1fdfb37aa3e5fb83cad8b5b8ff (plain)
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
{
	"name": "devcontainer-fluent-bit",
	"image": "fluent/fluent-bit:latest-debug",

	// Features to add to the dev container. More info: https://containers.dev/features.
	"features": {
		// add non-root user. it is similar your local user.
		"ghcr.io/devcontainers/features/common-utils:2": {
			"version": "latest",
			"username": "fluent-bit"
		},

		// docker-in-docker allows you to run Docker commands inside the dev container. Thus, it supports to build docker build in the environment.
		"ghcr.io/devcontainers/features/docker-in-docker:2": {
			"version": "latest",
			"moby": true,
			"dockerDashComposeVersion": "v1"
		}
	},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// The ports are useful while sending data over tcp/udp from local applications.
	"forwardPorts": [
		// 2020  // fluent metrics etc.
		// 80    // http input etc.
	],

	"customizations": {
		"vscode": {
			"extensions": [
				"ms-vscode.cpptools",
				"ms-azuretools.vscode-docker"
			]
		}
	},

	"remoteUser": "fluent-bit"
}