-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now everything builds inside the container and forwards containers to…
… the host when using docker compose through docker-out-of-docker.
Showing
13 changed files
with
254 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker | ||
{ | ||
"name": "Docker outside of Docker", | ||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": { | ||
// "version": "${templateOption:dockerVersion}", | ||
// "enableNonRootDocker": "${templateOption:enableNonRootDocker}", | ||
// "moby": "${templateOption:moby}" | ||
}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
"ghcr.io/devcontainers/features/azure-cli:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-dotnettools.csdevkit", | ||
"ms-mssql.mssql" | ||
] | ||
} | ||
}, | ||
|
||
// Use this environment variable if you need to bind mount your local source code into a new container. | ||
"remoteEnv": { | ||
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [6350, 6401, 6351, 6402, 6379, 1433, 8080, 9090, 4317, 4318, 3000, 3100, 3200, 8889], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "docker --version", | ||
|
||
// Configure tool-specific properties. | ||
// "customizations": {}, | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
"remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
141 changes: 141 additions & 0 deletions
141
src/Blazorpong.Database.AzureSql/Blazorpong.Database.AzureSql.sqlproj_backup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<Name>Blazorpong.Database.AzureSql</Name> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectVersion>4.1</ProjectVersion> | ||
<ProjectGuid>{45c7bd30-21b7-46f2-bacc-d90a1f1af7a9}</ProjectGuid> | ||
<DSP>Microsoft.Data.Tools.Schema.Sql.SqlAzureV12DatabaseSchemaProvider</DSP> | ||
<OutputType>Database</OutputType> | ||
<RootPath> | ||
</RootPath> | ||
<RootNamespace>Blazorpong.Database.AzureSql</RootNamespace> | ||
<AssemblyName>Blazorpong.Database.AzureSql</AssemblyName> | ||
<ModelCollation>1033,CI</ModelCollation> | ||
<DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure> | ||
<DeployToDatabase>True</DeployToDatabase> | ||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | ||
<TargetLanguage>CS</TargetLanguage> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<SqlServerVerification>False</SqlServerVerification> | ||
<IncludeCompositeObjects>True</IncludeCompositeObjects> | ||
<TargetDatabaseSet>True</TargetDatabaseSet> | ||
<TargetFrameworkProfile /> | ||
<DefaultCollation>SQL_Latin1_General_CP1_CI_AS</DefaultCollation> | ||
<AnsiNulls>False</AnsiNulls> | ||
<QuotedIdentifier>False</QuotedIdentifier> | ||
<TemporalHistoryRetentionEnabled>True</TemporalHistoryRetentionEnabled> | ||
<IsLedgerOn>False</IsLedgerOn> | ||
<QueryStoreCaptureMode>Auto</QueryStoreCaptureMode> | ||
<QueryStoreDesiredState>ReadWrite</QueryStoreDesiredState> | ||
<QueryStoreFlushInterval>900</QueryStoreFlushInterval> | ||
<QueryStoreStatsInterval>60</QueryStoreStatsInterval> | ||
<QueryStoreMaxPlansPerQuery>200</QueryStoreMaxPlansPerQuery> | ||
<QueryStoreStaleQueryThreshold>30</QueryStoreStaleQueryThreshold> | ||
<QueryStoreMaxStorageSize>100</QueryStoreMaxStorageSize> | ||
<DbScopedConfigLegacyCardinalityEstimation>Off</DbScopedConfigLegacyCardinalityEstimation> | ||
<DbScopedConfigMaxDOP>8</DbScopedConfigMaxDOP> | ||
<DbScopedConfigParameterSniffing>On</DbScopedConfigParameterSniffing> | ||
<DbScopedConfigOptimizerHotfixes>Off</DbScopedConfigOptimizerHotfixes> | ||
<DelayedDurability>DISABLED</DelayedDurability> | ||
<AutoCreateStatisticsIncremental>False</AutoCreateStatisticsIncremental> | ||
<MemoryOptimizedElevateToSnapshot>False</MemoryOptimizedElevateToSnapshot> | ||
<Containment>None</Containment> | ||
<IsNestedTriggersOn>True</IsNestedTriggersOn> | ||
<IsTransformNoiseWordsOn>False</IsTransformNoiseWordsOn> | ||
<TwoDigitYearCutoff>2049</TwoDigitYearCutoff> | ||
<NonTransactedFileStreamAccess>OFF</NonTransactedFileStreamAccess> | ||
<TargetRecoveryTimePeriod>60</TargetRecoveryTimePeriod> | ||
<TargetRecoveryTimeUnit>SECONDS</TargetRecoveryTimeUnit> | ||
<IsChangeTrackingOn>False</IsChangeTrackingOn> | ||
<IsChangeTrackingAutoCleanupOn>True</IsChangeTrackingAutoCleanupOn> | ||
<ChangeTrackingRetentionPeriod>2</ChangeTrackingRetentionPeriod> | ||
<ChangeTrackingRetentionUnit>Days</ChangeTrackingRetentionUnit> | ||
<IsEncryptionOn>True</IsEncryptionOn> | ||
<IsBrokerPriorityHonored>False</IsBrokerPriorityHonored> | ||
<Trustworthy>False</Trustworthy> | ||
<AutoUpdateStatisticsAsynchronously>False</AutoUpdateStatisticsAsynchronously> | ||
<PageVerify>CHECKSUM</PageVerify> | ||
<ServiceBrokerOption>EnableBroker</ServiceBrokerOption> | ||
<DateCorrelationOptimizationOn>False</DateCorrelationOptimizationOn> | ||
<Parameterization>SIMPLE</Parameterization> | ||
<AllowSnapshotIsolation>True</AllowSnapshotIsolation> | ||
<ReadCommittedSnapshot>True</ReadCommittedSnapshot> | ||
<VardecimalStorageFormatOn>True</VardecimalStorageFormatOn> | ||
<SupplementalLoggingOn>False</SupplementalLoggingOn> | ||
<CompatibilityMode>150</CompatibilityMode> | ||
<AnsiNullDefault>False</AnsiNullDefault> | ||
<AnsiPadding>False</AnsiPadding> | ||
<AnsiWarnings>False</AnsiWarnings> | ||
<ArithAbort>False</ArithAbort> | ||
<ConcatNullYieldsNull>False</ConcatNullYieldsNull> | ||
<NumericRoundAbort>False</NumericRoundAbort> | ||
<RecursiveTriggersEnabled>False</RecursiveTriggersEnabled> | ||
<DatabaseChaining>False</DatabaseChaining> | ||
<DatabaseState>ONLINE</DatabaseState> | ||
<CloseCursorOnCommitEnabled>False</CloseCursorOnCommitEnabled> | ||
<DefaultCursor>GLOBAL</DefaultCursor> | ||
<AutoClose>False</AutoClose> | ||
<AutoCreateStatistics>True</AutoCreateStatistics> | ||
<AutoShrink>False</AutoShrink> | ||
<AutoUpdateStatistics>True</AutoUpdateStatistics> | ||
<TornPageDetection>False</TornPageDetection> | ||
<DatabaseAccess>MULTI_USER</DatabaseAccess> | ||
<Recovery>FULL</Recovery> | ||
<EnableFullTextSearch>True</EnableFullTextSearch> | ||
<DefaultFilegroup>PRIMARY</DefaultFilegroup> | ||
<IncludeSchemaNameInFileName>True</IncludeSchemaNameInFileName> | ||
<GenerateCreateScript>False</GenerateCreateScript> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName> | ||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<DefineDebug>false</DefineDebug> | ||
<DefineTrace>true</DefineTrace> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<DefineDebug>true</DefineDebug> | ||
<DefineTrace>true</DefineTrace> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CatalogCollation>SQL_Latin1_General_CP1_CI_AS</CatalogCollation> | ||
<DataRetentionEnabled>False</DataRetentionEnabled> | ||
<TreatTSqlWarningsAsErrors>True</TreatTSqlWarningsAsErrors> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion> | ||
<!-- Default to the v11.0 targets path if the targets file for the current VS version is not found --> | ||
<SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists> | ||
<VisualStudioVersion Condition="'$(SSDTExists)' == ''">11.0</VisualStudioVersion> | ||
</PropertyGroup> | ||
<Import Condition="'$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" /> | ||
<Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" /> | ||
<ItemGroup> | ||
<Folder Include="Properties" /> | ||
<Folder Include="Snapshots" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Build Include="dbo.Room.sql" /> | ||
<Build Include="dbo.Client.sql" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<RefactorLog Include="Blazorpong.Database.AzureSql.refactorlog" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="Blazorpong.Database.AzureSql.localcontainer.publish.xml" /> | ||
<None Include="Snapshots\v0.dacpac" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters