Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

1.5 KB
Raw Blame
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
  "name": "Openverse",

  "image": "mcr.microsoft.com/devcontainers/base:2-debian",

  // Features to add to the dev container.
  // More info: https://containers.dev/features
  // List of features and their default options: https://github.com/devcontainers/features/tree/main/src
  "features": {
    "ghcr.io/guiyomh/features/just:0": {},
    "ghcr.io/devcontainers/features/python:1": {
      // Match the Python version defined in `*/Pipfile`.
      // TODO: Automatically populate this.
      "version": "3.11"
    },
    "ghcr.io/devcontainers/features/node:2": {
      // Match the Node.js version defined in `package.json`.
      // TODO: Automatically populate this.
      "version": "26.13.1"
    },
    "ghcr.io/devcontainers/features/docker-in-docker:4": {
      "dockerDashComposeVersion": "v2"
    },
    "ghcr.io/devcontainers/features/github-cli:1": {}
  },

  // Use 'forwardPorts' to make a list of ports inside the container available locally.
  "forwardPorts": [
    50230, // documentation
    8443 // frontend
  ],

  // Use 'postCreateCommand' to run commands after the container is created.
  "postCreateCommand": "./.devcontainer/post_create.sh"

  // Configure tool-specific properties.
  // "customizations": {},

  // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  // "remoteUser": "root"
}