nurse/.devcontainer/devcontainer.json

42 lines
1.4 KiB
JSON
Raw Permalink Normal View History

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go-postgres
{
"name": "Go & PostgreSQL",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind",
"features": {
"ghcr.io/devcontainers-contrib/features/act:1": {},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "mariadb-client,postgresql-client-15,redis"
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"golang.Go",
"cweijan.vscode-postgresql-client2",
"oderwat.indent-rainbow",
"bierner.markdown-mermaid",
"foxundermoon.shell-format",
"redhat.vscode-yaml"
]
}
}
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5432],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "go version",
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}