Skip to content

Instantly share code, notes, and snippets.

@gistlyn
gistlyn / .deploy\docker-compose-template.yml
Last active August 31, 2022 04:57
jamstack-litestream-sftp
version: "3.9"
services:
${APP_NAME}:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
depends_on:
${APP_NAME}-litestream:
condition: service_healthy
restart: always
network_mode: bridge
ports:
@gistlyn
gistlyn / .deploy\docker-compose-template.yml
Last active August 31, 2022 04:57
jamstack-litestream-azure
version: "3.9"
services:
${APP_NAME}:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
depends_on:
${APP_NAME}-litestream:
condition: service_healthy
restart: always
network_mode: bridge
ports:
@gistlyn
gistlyn / .deploy\docker-compose-template.yml
Last active August 31, 2022 04:56
jamstack-litestream-aws
version: "3.9"
services:
${APP_NAME}:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
depends_on:
${APP_NAME}-litestream:
condition: service_healthy
restart: always
network_mode: bridge
ports:
version: "3.9"
services:
${APP_NAME}:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
depends_on:
${APP_NAME}-litestream:
condition: service_healthy
restart: always
network_mode: bridge
ports:
version: "3.9"
services:
${APP_NAME}:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
depends_on:
${APP_NAME}-litestream:
condition: service_healthy
restart: always
network_mode: bridge
ports:
version: "3.9"
services:
${APP_NAME}:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
depends_on:
${APP_NAME}-litestream:
condition: service_healthy
restart: always
network_mode: bridge
ports:
@gistlyn
gistlyn / .gitignore
Last active February 16, 2022 10:17 — forked from specimen151/.gitignore
OrmLite JSON deserialization issue
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
@gistlyn
gistlyn / _init.ss
Last active June 2, 2022 12:30
Admin UI for managing ServiceStack Instances (v5.9+)
{{
var AppSvgs = {
'action/home.svg': 'home',
'action/bug_report.svg': 'debug',
'hardware/cast.svg': 'connect',
'hardware/security.svg': 'auth',
'toggle/check_box.svg': 'check_box_on',
'toggle/check_box_outline_blank.svg': 'check_box_off',
'navigation/double_arrow.svg': 'play',
'navigation/first_page.svg': 'chevron-first',
@gistlyn
gistlyn / ParseOpenapi.csproj
Last active November 22, 2023 03:37
Parsing Open API with ServiceStack's JSON.parse()
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<OutputType>Exe</OutputType>
<NoWarn>1591</NoWarn>
</PropertyGroup>
@gistlyn
gistlyn / NuGet.Config
Created December 1, 2021 06:12
ServiceStack pre-release packages on MyGet
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>