Diff
checker
Testo
Testo
Immagini
Documenti
Excel
Cartelle
Legal
Enterprise
Applicazione per desktop
Prezzi
Accedi
Scarica Diffchecker Desktop
Confronta il testo
Trova la differenza tra due file di testo
Strumenti
Cronologia
Editor live
Comprimi invariate
Senza a capo
Layout
Diviso
Unificato
Livello di dettaglio
Intelligente
Parola
Carattere
Evidenziazione sintassi
Scegli sintassi
Ignora
Trasforma testo
Vai alla prima modifica
Modifica input
Diffchecker Desktop
Il modo più sicuro per usare Diffchecker. Ottieni l'app Diffchecker Desktop: i tuoi diff non lasciano mai il tuo computer!
Ottieni Desktop
Devcontainer.json diff
Creato
3 anni fa
Il diff non scade mai
Eliminare
Esporta
Condividere
Spiegare
36 rimozioni
Linee
Totale
Rimosso
Caratteri
Totale
Rimosso
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
53 linee
Copia tutti
51 aggiunte
Linee
Totale
Aggiunto
Caratteri
Totale
Aggiunto
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
68 linee
Copia tutti
Copia
Copiato
Copia
Copiato
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
{
Copia
Copiato
Copia
Copiato
"name": "
azure_flask_postgres_flexible_appservice
",
"name": "
django-quiz-app
",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
"dockerComposeFile":
"
docker-compose.yml",
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile":
[
"../
docker-compose.yml",
"docker-compose_dev.yml" // Overwrites portions of the prod compose file
],
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "app",
"service": "app",
Copia
Copiato
Copia
Copiato
"shutdownAction": "stopCompose",
"workspaceFolder": "/workspace",
"workspaceFolder": "/workspace",
Copia
Copiato
Copia
Copiato
"features": {
"ghcr.io/azure/azure-dev/azd:latest": {}
},
"forwardPorts": [8000, 5432],
"forwardPorts": [8000, 5432],
"portsAttributes": {
"portsAttributes": {
Copia
Copiato
Copia
Copiato
"8000": {"label": "
frontend web
port", "onAutoForward": "notify"},
"8000": {"label": "
Django
port", "onAutoForward": "notify"},
"5432": {"label": "PostgreSQL port", "onAutoForward": "silent"}
"5432": {"label": "PostgreSQL port", "onAutoForward": "silent"}
},
},
Copia
Copiato
Copia
Copiato
// Configure tool-specific properties.
"customizations": {
"customizations": {
Copia
Copiato
Copia
Copiato
// Configure properties specific to VS Code.
"vscode": {
"vscode": {
Copia
Copiato
Copia
Copiato
"extensions": [
// Set *default* container specific settings.json values on container create.
"ms-azuretools.vscode-bicep",
"charliermarsh.ruff",
"ms-python.python",
"ms-python.black-formatter",
"microsoft.bicep",
"bierner.github-markdown-preview",
"ms-azuretools.vscode-docker",
"mtxr.sqltools",
"mtxr.sqltools-driver-pg"
],
"settings": {
"settings": {
"sqltools.connections": [
"sqltools.connections": [
{
{
Copia
Copiato
Copia
Copiato
"name": "
Local
database",
"name": "
Container
database",
"driver": "PostgreSQL",
"driver": "PostgreSQL",
Copia
Copiato
Copia
Copiato
"server": "
db
",
"previewLimit": 50,
"server": "
localhost
",
"port": 5432,
"port": 5432,
Copia
Copiato
Copia
Copiato
"database": "
relecloud
",
"database": "
app
",
"username": "
postgres
",
"username": "
app_user
",
"password": "
postgres"
"password": "
app_password"
}
]
}
}
Copia
Copiato
Copia
Copiato
],
"taskExplorer.enabledTasks": {"python": false},
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.linting.enabled": true,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.formatting.provider": "black",
"files.exclude": {
"**/*.coverage": true,
".ruff_cache": true,
".pytest_cache": true
}
}
},
},
Copia
Copiato
Copia
Copiato
"features": {
// Add the IDs of extensions you want installed when the container is created.
"ghcr.io/azure/azure-dev/azd:latest": {},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"charliermarsh.ruff",
"ms-azuretools.vscode-bicep",
"mtxr.sqltools",
"mtxr.sqltools-driver-pg",
"spmeesseman.vscode-taskexplorer"
]
}
},
},
Copia
Copiato
Copia
Copiato
"postCreateCommand": "pip install -
e src && python3 -m flask --app src/flaskapp db upgrade --directory src/flaskapp/migrations && python3 -m flask --app src/flaskapp seed --filename src/seed_data.json"
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install -
r requirements-dev.txt && pre-commit install",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
}
Diff salvati
Testo originale
Apri file
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose { "name": "azure_flask_postgres_flexible_appservice", // Update the 'dockerComposeFile' list if you have more compose files or use different names. // The .devcontainer/docker-compose.yml file contains any overrides you need/want to make. "dockerComposeFile": [ "../docker-compose.yml", "docker-compose_dev.yml" // Overwrites portions of the prod compose file ], // The 'service' property is the name of the service for the container that VS Code should // use. Update this value and .devcontainer/docker-compose.yml to the real service name. "service": "app", "shutdownAction": "stopCompose", "workspaceFolder": "/workspace", "forwardPorts": [8000, 5432], "portsAttributes": { "8000": {"label": "frontend web port", "onAutoForward": "notify"}, "5432": {"label": "PostgreSQL port", "onAutoForward": "silent"} }, "customizations": { "vscode": { "extensions": [ "ms-azuretools.vscode-bicep", "charliermarsh.ruff", "ms-python.python", "ms-python.black-formatter", "microsoft.bicep", "bierner.github-markdown-preview", "ms-azuretools.vscode-docker", "mtxr.sqltools", "mtxr.sqltools-driver-pg" ], "settings": { "sqltools.connections": [ { "name": "Local database", "driver": "PostgreSQL", "server": "db", "port": 5432, "database": "relecloud", "username": "postgres", "password": "postgres" } ] } } }, "features": { "ghcr.io/azure/azure-dev/azd:latest": {}, }, "postCreateCommand": "pip install -e src && python3 -m flask --app src/flaskapp db upgrade --directory src/flaskapp/migrations && python3 -m flask --app src/flaskapp seed --filename src/seed_data.json" }
Testo modificato
Apri file
{ "name": "django-quiz-app", "dockerComposeFile": "docker-compose.yml", "service": "app", "workspaceFolder": "/workspace", "features": { "ghcr.io/azure/azure-dev/azd:latest": {} }, "forwardPorts": [8000, 5432], "portsAttributes": { "8000": {"label": "Django port", "onAutoForward": "notify"}, "5432": {"label": "PostgreSQL port", "onAutoForward": "silent"} }, // Configure tool-specific properties. "customizations": { // Configure properties specific to VS Code. "vscode": { // Set *default* container specific settings.json values on container create. "settings": { "sqltools.connections": [ { "name": "Container database", "driver": "PostgreSQL", "previewLimit": 50, "server": "localhost", "port": 5432, "database": "app", "username": "app_user", "password": "app_password" } ], "taskExplorer.enabledTasks": {"python": false}, "python.defaultInterpreterPath": "/usr/local/bin/python", "python.linting.enabled": true, "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "[python]": { "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": true }, "editor.defaultFormatter": "ms-python.black-formatter" }, "python.formatting.provider": "black", "files.exclude": { "**/*.coverage": true, ".ruff_cache": true, ".pytest_cache": true } }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "ms-python.black-formatter", "charliermarsh.ruff", "ms-azuretools.vscode-bicep", "mtxr.sqltools", "mtxr.sqltools-driver-pg", "spmeesseman.vscode-taskexplorer" ] } }, // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "pip install -r requirements-dev.txt && pre-commit install", // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode" }
Trovare la differenza