Skip to content

Instantly share code, notes, and snippets.

💭
checking react these days!

rahul sahay rahulsahay19

💭
checking react these days!
Block or report user

Report or block rahulsahay19

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View docker-compose.yml
version: '3'
services:
sql.data.client:
image: rahulsahay19/sqlclient
AKSWeb:
image: rahulsahay19/aksweb
AKSApi:
View docker-compose-run.yml
version: '3'
services:
sql.data:
image: mcr.microsoft.com/mssql/server:2017-latest
container_name: sql1
ports:
- "1433:1433"
environment:
- ACCEPT_EULA=Y
View docker-compose-build.yml
version: '3'
services:
sql.data.client:
build:
context: ../src/AKSLearnDB
dockerfile: Dockerfile
AKSWeb:
build:
View docker-compose.yml
version: '3.3'
services:
sql.data-client:
image: rahulsahay19/sqlclient
build:
context: ../src/AKSLearnDB
dockerfile: Dockerfile
sql.data:
View initialdb.sql
IF NOT EXISTS (SELECT * FROM sys.databases WHERE name = N'AKSLearnDB')
BEGIN
PRINT 'Creating database AKSLearnDB...'
CREATE DATABASE [AKSLearnDB]
END;
GO
-- IF EXISTS (SELECT * FROM sys.databases WHERE name = N'AKSLearnDB')
-- BEGIN
-- PRINT 'Dropping existing database...'
View Dockerfile
FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build-env
WORKDIR /AKSApi
COPY NuGet.config ./
COPY AKSApi.csproj ./
RUN dotnet restore
View nuget.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
View Dockerfile
FROM mcr.microsoft.com/dotnet/core/sdk:2.2 AS build-env
WORKDIR /AKSWeb
COPY NuGet.config ./
COPY AKSWeb.csproj ./
RUN dotnet restore
View jam-stack-pipeline.yml
# Node.js with Angular
# Build a Node.js project that uses Angular.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
View environment.prod.ts
export const environment = {
production: true,
movieUrl: 'https://ngjamstack.azurewebsites.net/api/movies/'
};
You can’t perform that action at this time.