From 0e42600f36a187db5884b141d74196cb362a55c4 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 11 Nov 2023 12:37:49 +0100 Subject: [PATCH] Use sqlite instead of pg as database (faster) --- conf/default.env | 8 -------- manifest.toml | 7 ------- 2 files changed, 15 deletions(-) diff --git a/conf/default.env b/conf/default.env index 4f433dd..d322129 100644 --- a/conf/default.env +++ b/conf/default.env @@ -7,11 +7,3 @@ GRIST_DEFAULT_LOCALE=__LANGUAGE__ GRIST_ANON_PLAYGROUND=false REDIS_URL=redis://localhost:6379/__REDIS_DB__ GRIST_INST_DIR=__DATA_DIR__ - -TYPEORM_TYPE=postgres -TYPEORM_HOST=localhost -TYPEORM_PORT=5432 -TYPEORM_DATABASE=__APP__ -TYPEORM_USERNAME=__DB_USER__ -TYPEORM_PASSWORD=__DB_PWD__ -TYPEORM_LOGGING=false diff --git a/manifest.toml b/manifest.toml index 6a8f36b..9025285 100644 --- a/manifest.toml +++ b/manifest.toml @@ -104,13 +104,6 @@ ram.runtime = "50M" # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed) packages = "python3.9 python3.9-venv" - # extras.gvisor.repo="deb https://storage.googleapis.com/gvisor/releases release main" - # extras.gvisor.key="https://gvisor.dev/archive.key" - # extras.gvisor.packages=[ "runsc" ] - extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" extras.yarn.packages = ["yarn"] - - [resources.database] - type = "postgresql"