mirror of
https://github.com/edu4rdshl/rust-postgres-devcontainer.git
synced 2026-07-17 23:24:56 +00:00
(docs): reflect latest changes.
This commit is contained in:
parent
9e9826027b
commit
a595d19886
1 changed files with 3 additions and 3 deletions
|
|
@ -31,19 +31,19 @@ This is a [devcontainer](https://containers.dev/) for Rust and PostgreSQL develo
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Mount the workspace folder into the container
|
// Mount the workspace folder into the container
|
||||||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/vscode/workspace,type=bind,consistency=cached",
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
||||||
"mounts": [
|
"mounts": [
|
||||||
// Note: The volumes cargo-cache-rust_devcontainer and postgres-rust_devcontainer are automatically used
|
// Note: The volumes cargo-cache-rust_devcontainer and postgres-rust_devcontainer are automatically used
|
||||||
// to cache the cargo and postgresql data directories respectively. You can override them by setting the
|
// to cache the cargo and postgresql data directories respectively. You can override them by setting the
|
||||||
// mounts here. Example:
|
// mounts here. Example:
|
||||||
// {
|
// {
|
||||||
// "source": "cargo-cache-${localWorkspaceFolderBasename}",
|
// "source": "cargo-cache-${localWorkspaceFolderBasename}",
|
||||||
// "target": "/usr/local/cargo",
|
// "target": "/usr/local/cargo:U",
|
||||||
// "type": "volume"
|
// "type": "volume"
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// "source": "postgres-${localWorkspaceFolderBasename}",
|
// "source": "postgres-${localWorkspaceFolderBasename}",
|
||||||
// "target": "/var/lib/postgresql/15/main",
|
// "target": "/var/lib/postgresql/15/main:U",
|
||||||
// "type": "volume"
|
// "type": "volume"
|
||||||
// }
|
// }
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue