first
This commit is contained in:
commit
299007e990
29 changed files with 2887 additions and 0 deletions
26
.devcontainer/devcontainer.json
Normal file
26
.devcontainer/devcontainer.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
{
|
||||
"name": "lnbits_nwc_provider",
|
||||
"image": "mcr.microsoft.com/devcontainers/python:1-3.9-bullseye",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-contrib/features/poetry:2": {
|
||||
}
|
||||
|
||||
},
|
||||
"mounts": [
|
||||
"source=${localWorkspaceFolder}/.devcontainer/start.sh,target=/start-lnbits.sh,type=bind",
|
||||
"source=${localWorkspaceFolder}/.devcontainer/setup.sh,target=/setup.sh,type=bind"
|
||||
],
|
||||
"postCreateCommand": "/bin/bash /setup.sh ${containerWorkspaceFolder}",
|
||||
"postStartCommand": "/bin/bash /start-lnbits.sh",
|
||||
"forwardPorts": [
|
||||
5000
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"python.pythonPath": "/opt/python/bin/python3.9"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue