diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7a82b9f..1b8fa2e 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -33,8 +33,9 @@ jobs: uses: appleboy/ssh-action@v1.0.3 with: host: 129.146.116.218 - username: ${{ secrets.SSH_USERNAME }} - key: ${{ secrets.SSH_PRIVATE_KEY }} + # username: ${{ secrets.SSH_USERNAME }} + # key: ${{ secrets.SSH_PRIVATE_KEY }} + username: ubuntu port: 22 script: | # Para qualquer container que esteja usando a porta 80 diff --git a/OnlyOneAccessTemplate/appsettings.Production.json b/OnlyOneAccessTemplate/appsettings.Production.json index a911d78..0771632 100644 --- a/OnlyOneAccessTemplate/appsettings.Production.json +++ b/OnlyOneAccessTemplate/appsettings.Production.json @@ -1,18 +1,55 @@ { + // Exemplo 1: Conversor de Maiúsculas/Minúsculas + "Converter": { + "Type": "text-case-sentence", + "Name": "Maiúsculas para 1a. minúsculas" + }, + + // Exemplo 2: Conversor CSV para JSON + // "Converter": { + // "Type": "csv-json", + // "Name": "Conversor CSV para JSON" + // }, + + // Exemplo 3: Conversor OCR (Imagem para Texto) + // "Converter": { + // "Type": "image-ocr", + // "Name": "Conversor de Imagem para Texto" + // }, + "ConnectionStrings": { - "MongoDB": "mongodb+srv://usuario:senha@cluster.mongodb.net/text_case_converter_db?retryWrites=true&w=majority" + "MongoDB": "mongodb://admin:c4rn31r0@k3sw2:27017,k3ss1:27017/?authSource=admin" + }, + + "MongoDB": { + "DatabaseName": "text_case_converter_db" + }, + + "TextConversionApi": { + "BaseUrl": "https://localhost:7071" }, "SEO": { "DefaultDomain": "https://maiusculasminusculas.com", - "GoogleTagManagerId": "GTM-REAL123", - "GoogleAnalyticsId": "GA-REAL456" + "DefaultSiteName": "Maiúsculas para 1a. minúsculas online", + "GoogleTagManagerId": "GTM-XXXXXXX", + "GoogleAnalyticsId": "GA-XXXXXXXX" }, "Logging": { "LogLevel": { - "Default": "Warning", + "Default": "Information", "Microsoft.AspNetCore": "Warning" } - } -} \ No newline at end of file + }, + "GoogleAds": { + "PublisherID": "pub-3475956393038764", + "Enabled": true, + "TestMode": false, + "Slots": { + "BannerTop": "SEU_SLOT_ID_1", + "RectanglePre": "SEU_SLOT_ID_2" + } + }, + "AllowedHosts": "*" +}