Files
thoth/.devcontainer/devcontainer.json
Dylan Knutson 9b7777c268
Some checks failed
CI / Check Style (push) Successful in 17s
CI / Run Clippy (push) Failing after 21s
CI / Run Tests (push) Failing after 21s
Initialize loco app
2024-11-30 13:27:36 -08:00

32 lines
1.2 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust-postgres
{
"name": "Rust and PostgreSQL",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/meaningful-ooo/devcontainer-features/fish:1": {},
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {},
"ghcr.io/nikobockerman/devcontainer-features/fish-persistent-data:2": {}
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8080, // pgadmin
5150 // loco app
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "cargo install loco && cargo install sea-orm-cli",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"inferrinizzard.prettier-sql-vscode"
]
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}