From 54f7142b2b5704de1275dab1faecf9367bd70757 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 19 May 2022 15:05:56 +0200 Subject: [PATCH] disable appwrite for now --- src/lib/components/common.ts | 23 ++++++++++--------- .../{appwrite => appwrite-wip}/index.json.ts | 0 .../{appwrite => appwrite-wip}/start.json.ts | 0 .../{appwrite => appwrite-wip}/stop.json.ts | 0 src/routes/webhooks/traefik/main.json.ts | 2 +- 5 files changed, 13 insertions(+), 12 deletions(-) rename src/routes/services/[id]/{appwrite => appwrite-wip}/index.json.ts (100%) rename src/routes/services/[id]/{appwrite => appwrite-wip}/start.json.ts (100%) rename src/routes/services/[id]/{appwrite => appwrite-wip}/stop.json.ts (100%) diff --git a/src/lib/components/common.ts b/src/lib/components/common.ts index 3ded5d12b..20b66a9cd 100644 --- a/src/lib/components/common.ts +++ b/src/lib/components/common.ts @@ -219,17 +219,18 @@ export const supportedServiceTypesAndVersions = [ ports: { main: 3000 } - }, - { - name: 'appwrite', - fancyName: 'AppWrite', - baseImage: 'appwrite/appwrite', - images: ['appwrite/influxdb', 'appwrite/telegraf', 'mariadb:10.7', 'redis:6.0-alpine3.12'], - versions: ['latest', '0.13.0'], - recommendedVersion: '0.13.0', - ports: { - main: 3000 - } + // }, + // { + // name: 'appwrite', + // fancyName: 'AppWrite', + // baseImage: 'appwrite/appwrite', + // images: ['appwrite/influxdb', 'appwrite/telegraf', 'mariadb:10.7', 'redis:6.0-alpine3.12'], + // versions: ['latest', '0.13.0'], + // recommendedVersion: '0.13.0', + // ports: { + // main: 3000 + // } + // } } ]; diff --git a/src/routes/services/[id]/appwrite/index.json.ts b/src/routes/services/[id]/appwrite-wip/index.json.ts similarity index 100% rename from src/routes/services/[id]/appwrite/index.json.ts rename to src/routes/services/[id]/appwrite-wip/index.json.ts diff --git a/src/routes/services/[id]/appwrite/start.json.ts b/src/routes/services/[id]/appwrite-wip/start.json.ts similarity index 100% rename from src/routes/services/[id]/appwrite/start.json.ts rename to src/routes/services/[id]/appwrite-wip/start.json.ts diff --git a/src/routes/services/[id]/appwrite/stop.json.ts b/src/routes/services/[id]/appwrite-wip/stop.json.ts similarity index 100% rename from src/routes/services/[id]/appwrite/stop.json.ts rename to src/routes/services/[id]/appwrite-wip/stop.json.ts diff --git a/src/routes/webhooks/traefik/main.json.ts b/src/routes/webhooks/traefik/main.json.ts index e39e41f83..467dcddf7 100644 --- a/src/routes/webhooks/traefik/main.json.ts +++ b/src/routes/webhooks/traefik/main.json.ts @@ -263,7 +263,7 @@ export const get: RequestHandler = async (event) => { let otherIsHttps = null; let otherIsWWW = null; - if (type === 'minio') { + if (type === 'minio' && service.minio.apiFqdn) { otherDomain = getDomain(service.minio.apiFqdn); otherNakedDomain = otherDomain.replace(/^www\./, ''); otherIsHttps = service.minio.apiFqdn.startsWith('https://');