Files
thoth/.devcontainer/devcontainer.json
Dylan Knutson b56a34c3b7
Some checks failed
CI / Check Style (push) Successful in 15s
CI / Run Clippy (push) Successful in 32s
CI / Run Tests (push) Failing after 1m18s
Initialize loco app
2024-12-01 11:37:04 -08:00

43 lines
1.5 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": {},
"ghcr.io/devcontainers-extra/features/act:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"azureDnsAutoDetection": true,
"installDockerBuildx": true,
"installDockerComposeSwitch": true,
"version": "latest",
"dockerDashComposeVersion": "latest"
}
},
// 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"
}