Skip to content

Instantly share code, notes, and snippets.

@gistlyn
gistlyn / .deploy\docker-compose.yml
Last active December 13, 2023 05:38
blazor-litestream-aws
version: "3.9"
services:
app:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
restart: always
depends_on:
app-litestream:
condition: service_healthy
ports:
- "8080"
using Funq;
using ServiceStack;
using MyApp.ServiceInterface;
[assembly: HostingStartup(typeof(MyApp.AppHost))]
namespace MyApp;
public class AppHost : AppHostBase, IHostingStartup
{
@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',