Skip to content

Commit

Permalink
feat: ef + swagger (#24)
Browse files Browse the repository at this point in the history
* feat: ef + swagger

* fix: excluindo arquivo duplicado
  • Loading branch information
felipementel authored Nov 15, 2023
1 parent 51ef869 commit d9c20d5
Show file tree
Hide file tree
Showing 83 changed files with 819 additions and 3,360 deletions.
96 changes: 48 additions & 48 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
# run from src folder
# docker-compose -f ../docker/docker-compose.yml up -d --build
# docker-compose -f ../docker/docker-compose.yml down --remove-orphans

version: "3.8"
services:
# cachorro.api:
# hostname: cachorro-api
# container_name: cachorro-api
# networks:
# - cachorro-net
# restart: always
# depends_on:
# - azuresqledge
# build:
# context: ../src
# dockerfile: ../src/DEPLOY.Cachorro.Api/Dockerfile
# ports:
# - 9042:80
# - 9043:443
# deploy:
# resources:
# limits:
# cpus: "0.25"
# memory: 0.5GB
# reservations:
# cpus: "0.25"
# memory: 500M

azuresqledge:
image: mcr.microsoft.com/azure-sql-edge:2.0.0
hostname: azuresqledge
container_name: azuresqledge
restart: always
cap_add:
- SYS_PTRACE
networks:
- cachorro-net
environment:
ACCEPT_EULA: 1
MSSQL_SA_PASSWORD: Abcd1234%
MSSQL_PID: Developer
ports:
- 1433:1433

networks:
cachorro-net:
driver: bridge
# run from src folder
# docker-compose -f ../docker/docker-compose.yml up -d --build
# docker-compose -f ../docker/docker-compose.yml down --remove-orphans

version: "3.8"
services:
# cachorro.api:
# hostname: cachorro-api
# container_name: cachorro-api
# networks:
# - cachorro-net
# restart: always
# depends_on:
# - azuresqledge
# build:
# context: ../src
# dockerfile: ../src/DEPLOY.Cachorro.Api/Dockerfile
# ports:
# - 9042:80
# - 9043:443
# deploy:
# resources:
# limits:
# cpus: "0.25"
# memory: 0.5GB
# reservations:
# cpus: "0.25"
# memory: 500M

azuresqledge:
image: mcr.microsoft.com/azure-sql-edge:2.0.0
hostname: azuresqledge
container_name: azuresqledge
restart: always
cap_add:
- SYS_PTRACE
networks:
- cachorro-net
environment:
ACCEPT_EULA: 1
MSSQL_SA_PASSWORD: Abcd1234%
MSSQL_PID: Developer
ports:
- 1433:1433

networks:
cachorro-net:
driver: bridge
12 changes: 6 additions & 6 deletions src/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sonarlint.connectedMode.project": {
"connectionId": "",
"projectKey": ""
}
}
{
"sonarlint.connectedMode.project": {
"connectionId": "",
"projectKey": ""
}
}

This file was deleted.

44 changes: 0 additions & 44 deletions src/DEPLOY.Cachorro.Api.Tests/coveragereport/SonarQube.xml

This file was deleted.

29 changes: 0 additions & 29 deletions src/DEPLOY.Cachorro.Api.Tests/coveragereport/Summary.json

This file was deleted.

Binary file not shown.
113 changes: 0 additions & 113 deletions src/DEPLOY.Cachorro.Api.Tests/coveragereport/badge_branchcoverage.svg

This file was deleted.

Loading

0 comments on commit d9c20d5

Please sign in to comment.