]> git.openstreetmap.org Git - rails.git/blob - .devcontainer/devcontainer.json
Localisation updates from https://translatewiki.net.
[rails.git] / .devcontainer / devcontainer.json
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
3 {
4   "name": "open_street_map",
5   "dockerComposeFile": "compose.yaml",
6   "service": "rails-app",
7   "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
8
9   // Features to add to the dev container. More info: https://containers.dev/features.
10   "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": {}
15   },
16
17   "containerEnv": {
18     "CAPYBARA_SERVER_PORT": "45678",
19     "DB_HOST": "postgres"
20   },
21
22   // Use 'forwardPorts' to make a list of ports inside the container available locally.
23   "forwardPorts": [3000, 5432],
24
25   // Configure tool-specific properties.
26   // "customizations": {},
27
28   // Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser.
29   // "remoteUser": "root",
30
31
32   // Use 'postCreateCommand' to run commands after the container is created.
33   "postCreateCommand": ".devcontainer/start"
34 }