code quality fixes and cleanup
This commit is contained in:
parent
29b1b17967
commit
2bbbcd4d65
32 changed files with 4943 additions and 1368 deletions
|
|
@ -1,33 +1,28 @@
|
|||
|
||||
{
|
||||
"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",
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
||||
|
||||
],
|
||||
"containerEnv": {
|
||||
"IS_DEV_CONTAINER": "true",
|
||||
},
|
||||
"postCreateCommand": "/bin/bash /setup.sh ${containerWorkspaceFolder}",
|
||||
"postStartCommand": "/bin/bash /start-lnbits.sh",
|
||||
"forwardPorts": [
|
||||
5000
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
// "python.pythonPath": "/opt/python/bin/python3.9"
|
||||
}
|
||||
}
|
||||
},
|
||||
"runArgs": ["--network", "host"]
|
||||
|
||||
"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",
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
|
||||
],
|
||||
"containerEnv": {
|
||||
"IS_DEV_CONTAINER": "true"
|
||||
},
|
||||
"postCreateCommand": "/bin/bash /setup.sh ${containerWorkspaceFolder}",
|
||||
"postStartCommand": "/bin/bash /start-lnbits.sh",
|
||||
"forwardPorts": [5000],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"python.analysis.extraPaths": ["/home/vscode/lnbits"],
|
||||
"python.pythonPath": "/home/vscode/python"
|
||||
// "python.pythonPath": "/opt/python/bin/python3.9"
|
||||
}
|
||||
}
|
||||
},
|
||||
"runArgs": ["--network", "host"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue