mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
c1eaa8a2d7 | |||
f1cc2bedec | |||
a3490fe82a | |||
1bcec1f166 | |||
eaa76894c1 | |||
4fba59de40 |
44
.devcontainer/devcontainer.json
Normal file
44
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||||
|
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
|
||||||
|
{
|
||||||
|
"name": "C# (.NET)",
|
||||||
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/dotnet:0-6.0",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
|
||||||
|
"moby": true,
|
||||||
|
"installDockerBuildx": true,
|
||||||
|
"version": "latest",
|
||||||
|
"dockerDashComposeVersion": "v2"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/dotnet:1": {
|
||||||
|
"installUsingApt": true,
|
||||||
|
"version": "latest"
|
||||||
|
},
|
||||||
|
"ghcr.io/wxw-matt/devcontainer-features/command_runner:0": {}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
|
// "features": {},
|
||||||
|
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
// "forwardPorts": [5000, 5001],
|
||||||
|
// "portsAttributes": {
|
||||||
|
// "5001": {
|
||||||
|
// "protocol": "https"
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
|
// "postCreateCommand": "dotnet restore",
|
||||||
|
|
||||||
|
// Configure tool-specific properties.
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": ["ms-dotnettools.csdevkit"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
|
// "remoteUser": "root"
|
||||||
|
}
|
11
.github/workflows/build-image.yml
vendored
11
.github/workflows/build-image.yml
vendored
@ -243,19 +243,22 @@ jobs:
|
|||||||
needs: gitversion
|
needs: gitversion
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [amd64, arm64]
|
# platform: [amd64, arm64]
|
||||||
|
platform: [ amd64 ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Cleanup build folder'
|
- name: 'Cleanup build folder'
|
||||||
run: |
|
run: |
|
||||||
rm ./* -r || true
|
rm ./* -r || true
|
||||||
rm ./.??* -r || true
|
rm ./.??* -r || true
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: login into registry
|
- name: login into registry
|
||||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u $ --password-stdin
|
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u $ --password-stdin
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: ls -la
|
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
env:
|
env:
|
||||||
dockerfile: ./src/comissions.app.api/Dockerfile
|
dockerfile: ./src/comissions.app.api/Dockerfile
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"BaseUrl": "http://localhost:3000"
|
"BaseUrl": "http://localhost:3000"
|
||||||
},
|
},
|
||||||
"Novu": {
|
"Novu": {
|
||||||
"ApiKey": "287ad99d1cbeba7f96a7d2637b022e6f"
|
"ApiKey": ""
|
||||||
},
|
},
|
||||||
"Database": {
|
"Database": {
|
||||||
"Database": "comissionsapp",
|
"Database": "comissionsapp",
|
||||||
@ -13,14 +13,14 @@
|
|||||||
"password": "postgres"
|
"password": "postgres"
|
||||||
},
|
},
|
||||||
"Stripe": {
|
"Stripe": {
|
||||||
"WebHookSecret": "whsec_WTxw2seQHaJjSbLiRr1q8fs1wh8vGdGn",
|
"WebHookSecret": "",
|
||||||
"ApiKey": "sk_test_51OdJ1SLooS0IZqYkx2IdNoLcscm6BisgaUyYVIc5jM1RMmarww2e9hLLQS3Atn6TQi00p9YQkCLGQPhAI2gf9ZSY00HmbQYCvP"
|
"ApiKey": ""
|
||||||
},
|
},
|
||||||
"Auth0": {
|
"Auth0": {
|
||||||
"Domain": "https://dev-12mb5yq82dow1twh.us.auth0.com/",
|
"Domain": "https://dev-12mb5yq82dow1twh.us.auth0.com/",
|
||||||
"Audience": "https://api.artplatform.com",
|
"Audience": "https://api.artplatform.com",
|
||||||
"ClientId": "U39Jg6oyFoNihzjZ24SX2FxiBx2lqvsC",
|
"ClientId": "",
|
||||||
"ClientSecret": "UBH4HTsvkoWHImQwI4abyh46s6qpEnD3hfrODEYBTX7p_5v0bYogz-b_6wJtOkDg"
|
"ClientSecret": ""
|
||||||
},
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user