25 lines
903 B
JSON
25 lines
903 B
JSON
{
|
|
"name": "lnbits_nwc_provider",
|
|
"image": "mcr.microsoft.com/devcontainers/python:1-3.12",
|
|
|
|
"mounts": [
|
|
"source=${localWorkspaceFolder}/.devcontainer/start.sh,target=/start-lnbits.sh,type=bind",
|
|
"source=${localWorkspaceFolder}/.devcontainer/setup.sh,target=/setup.sh,type=bind",
|
|
"source=${localWorkspaceFolder}/.devcontainer/pre-setup.sh,target=/pre-setup.sh,type=bind",
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
|
],
|
|
"containerEnv": {
|
|
"IS_DEV_CONTAINER": "true"
|
|
},
|
|
"postCreateCommand": "/bin/bash /pre-setup.sh && /bin/bash /setup.sh ${containerWorkspaceFolder}",
|
|
"postStartCommand": "/bin/bash /start-lnbits.sh",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"python.analysis.extraPaths": ["/home/vscode/lnbits"],
|
|
"python.pythonPath": "/home/vscode/python"
|
|
}
|
|
}
|
|
},
|
|
"runArgs": ["--network", "host"]
|
|
}
|