forked from external-repos/esp32cam-rtsp
Add devcontainer configuration for ESP32-CAM RTSP development and update .gitignore
This commit is contained in:
22
.devcontainer/devcontainer.json
Normal file
22
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "ESP32-CAM RTSP Development",
|
||||
"image": "platformio/platformio-core",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"platformio.platformio-ide",
|
||||
"ms-vscode.cpptools",
|
||||
"ms-vscode.cmake-tools"
|
||||
]
|
||||
}
|
||||
},
|
||||
"mounts": ["source=/dev,target=/dev,type=bind"],
|
||||
"runArgs": ["--privileged", "--device-cgroup-rule=c 166:* rmw"],
|
||||
"postCreateCommand": "pio pkg update -g -p espressif32",
|
||||
"remoteUser": "root",
|
||||
"forwardPorts": [80, 554],
|
||||
"portsAttributes": {
|
||||
"80": { "label": "Web Interface" },
|
||||
"554": { "label": "RTSP Stream" }
|
||||
}
|
||||
}
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
.*/*
|
||||
.pio/*
|
||||
.vscode/*
|
||||
.*.*
|
||||
__pycache__/
|
||||
*.log
|
||||
|
||||
Reference in New Issue
Block a user