mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-26 21:31:31 +00:00
Revert .devcontainer/devcontainer.json
This commit is contained in:
parent
b4b126e39f
commit
e096a04603
1 changed files with 37 additions and 29 deletions
|
|
@ -1,32 +1,40 @@
|
||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||||
{
|
{
|
||||||
"name": "Audiobookshelf",
|
"name": "Audiobookshelf",
|
||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "Dockerfile",
|
"dockerfile": "Dockerfile",
|
||||||
// Update 'VARIANT' to pick a Node version: 18, 16, 14.
|
// Update 'VARIANT' to pick a Node version: 18, 16, 14.
|
||||||
// Append -bullseye or -buster to pin to an OS version.
|
// Append -bullseye or -buster to pin to an OS version.
|
||||||
// Use -bullseye variants on local arm64/Apple Silicon.
|
// Use -bullseye variants on local arm64/Apple Silicon.
|
||||||
"args": {
|
"args": {
|
||||||
"VARIANT": "20"
|
"VARIANT": "20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mounts": ["source=abs-server-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume", "source=abs-client-node_modules,target=${containerWorkspaceFolder}/client/node_modules,type=volume", "source=/home/harry/Music/ABS-Dev,target=/podcasts,type=bind,consistency=cached"],
|
"mounts": [
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
"source=abs-server-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
|
||||||
// "features": {},
|
"source=abs-client-node_modules,target=${containerWorkspaceFolder}/client/node_modules,type=volume"
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
],
|
||||||
"forwardPorts": [3000, 3333],
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// "features": {},
|
||||||
"postCreateCommand": "sh .devcontainer/post-create.sh",
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// Configure tool-specific properties.
|
"forwardPorts": [
|
||||||
"customizations": {
|
3000,
|
||||||
// Configure properties specific to VS Code.
|
3333
|
||||||
"vscode": {
|
],
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
"extensions": ["dbaeumer.vscode-eslint", "octref.vetur"]
|
"postCreateCommand": "sh .devcontainer/post-create.sh",
|
||||||
}
|
// Configure tool-specific properties.
|
||||||
},
|
"customizations": {
|
||||||
"runArgs": ["-p=3333:3333"]
|
// Configure properties specific to VS Code.
|
||||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
"vscode": {
|
||||||
// "remoteUser": "root"
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
|
"extensions": [
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"octref.vetur"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
|
// "remoteUser": "root"
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue