1 // For format details, see https://containers.dev/implementors/json_reference/.
2 // For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/ruby
4 "name": "open_street_map",
5 "dockerComposeFile": "compose.yaml",
6 "service": "rails-app",
7 "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
9 // Features to add to the dev container. More info: https://containers.dev/features.
11 "ghcr.io/devcontainers/features/github-cli:1": {},
12 "ghcr.io/devcontainers/features/node:1": {},
13 "ghcr.io/rails/devcontainer/features/activestorage": {},
14 "ghcr.io/rails/devcontainer/features/postgres-client": {}
18 "CAPYBARA_SERVER_PORT": "45678",
22 // Use 'forwardPorts' to make a list of ports inside the container available locally.
23 "forwardPorts": [3000, 5432],
25 // Configure tool-specific properties.
26 // "customizations": {},
28 // Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser.
29 // "remoteUser": "root",
32 // Use 'postCreateCommand' to run commands after the container is created.
33 "postCreateCommand": ".devcontainer/start"