Spaces:
Runtime error
Runtime error
File size: 2,333 Bytes
c35cd37 a8c39f5 c35cd37 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
// 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": "TTS Service",
"dockerComposeFile": "docker-compose.yml",
"service": "dev",
"runServices": ["dev"],
"workspaceFolder": "/workspaces/tts-service",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/nikobockerman/devcontainer-features/poetry-persistent-cache:1": {},
"ghcr.io/devcontainers-extra/features/poetry:2": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"containerEnv": {
"DOCKER_CLI_HINTS": "false",
"POETRY_VIRTUALENVS_IN_PROJECT": "false",
"VIRTUAL_ENV": "/mnt/poetry-persistent-cache/virtualenvs/tts-service-joSAMYfP-py3.10",
"COMPOSE_PROJECT_NAME": "tts-service_devcontainer",
"COMPOSE_FILE": "${containerWorkspaceFolder}/.devcontainer/docker-compose.yml"
},
"remoteEnv": {
"PATH": "${containerEnv:VIRTUAL_ENV}/bin:${containerWorkspaceFolder}/.devcontainer/dev/bin:${containerEnv:PATH}"
},
"mounts": [
"type=bind,source=${localEnv:HOME}${localEnv:USERPROFILE}/.gitconfig,target=/home/vscode/.gitconfig,readonly",
"type=bind,source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly"
],
"postCreateCommand": ".devcontainer/scripts/post-create.sh ${containerWorkspaceFolder}",
"postStartCommand": ".devcontainer/scripts/post-start.sh ${containerWorkspaceFolder}",
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"curlconverter.curlconverter",
"esbenp.prettier-vscode",
"github.vscode-github-actions",
"humao.rest-client",
"kiliantyler.kubernetes-yaml-formatter-x",
"matangover.mypy",
"ms-python.python",
"ms-toolsai.jupyter",
"redhat.vscode-yaml",
"shd101wyy.markdown-preview-enhanced",
"tamasfe.even-better-toml"
],
"settings": {
"python.defaultInterpreterPath": "${containerEnv:VIRTUAL_ENV}/bin/python"
}
}
}
}
|