// For format details, see https://containers.dev/implementors/json_reference/. // For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/ruby { "name": "openneo_impress_items", "dockerComposeFile": "compose.yaml", "service": "rails-app", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", // Features to add to the dev container. More info: https://containers.dev/features. "features": { "ghcr.io/devcontainers/features/node:1": {}, "ghcr.io/rails/devcontainer/features/mysql-client": {}, "ghcr.io/devcontainers-extra/features/ansible:2": {} }, "containerEnv": { "DB_HOST": "mysql" }, "remoteEnv": { "IMPRESS_DEPLOY_USER": "${localEnv:USER}" }, // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [3000], // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser. // "remoteUser": "root", // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "bash .devcontainer/setup-ssh-config.sh && bin/setup --skip-server" }