// 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" }