- Criado DockerSecretsConfigurationProvider para ler secrets de /run/secrets/ - Removidas credenciais sensíveis do appsettings.Production.json - Adicionado indicador visual no rodapé (✓/✗) para verificar se secrets foram carregados - Atualizado deploy.yml para usar Docker Secrets no Swarm - Criado script create-docker-secrets.sh para gerenciar secrets - Criado template secrets.env.template para facilitar configuração - Documentação completa em DOCKER_SECRETS_SETUP.md Secrets gerenciados: - stripe_secret_key - stripe_webhook_secret - mongodb_connection_string - google_client_id / google_client_secret - microsoft_client_id / microsoft_client_secret IMPORTANTE: Após este deploy, é necessário criar os secrets no Swarm e recriar o service. Consulte DOCKER_SECRETS_SETUP.md. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(dotnet new:*)",
|
|
"Bash(find:*)",
|
|
"Bash(dotnet build:*)",
|
|
"Bash(timeout:*)",
|
|
"Bash(rm:*)",
|
|
"Bash(dotnet run:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(pkill:*)",
|
|
"Bash(true)",
|
|
"Bash(dotnet clean:*)",
|
|
"Bash(grep:*)",
|
|
"Bash(ss:*)",
|
|
"Bash(killall:*)",
|
|
"Bash(node:*)",
|
|
"Bash(jshint:*)",
|
|
"Bash(ls:*)",
|
|
"Bash(convert:*)",
|
|
"Bash(dotnet add package:*)",
|
|
"Bash(dotnet remove package:*)",
|
|
"Bash(dotnet restore:*)",
|
|
"Bash(rg:*)",
|
|
"Bash(dotnet test:*)",
|
|
"Bash(cp:*)",
|
|
"Bash(ping:*)",
|
|
"Bash(nc:*)",
|
|
"Bash(ssh:*)",
|
|
"Read(//mnt/c/vscode/**)",
|
|
"Read(//mnt/c/**)",
|
|
"Bash(chmod +x /mnt/c/vscode/qrrapido/Scripts/update-plans.sh)",
|
|
"Bash(netstat -tln)",
|
|
"Bash(npm install)",
|
|
"Bash(npm install:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
}
|