1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grist_ynh.git synced 2024-09-03 20:36:18 +02:00

Use sqlite instead of pg as database (faster)

This commit is contained in:
Florent 2023-11-11 12:37:49 +01:00 committed by Florent F
parent 108c98fe8a
commit 0e42600f36
2 changed files with 0 additions and 15 deletions

View file

@ -7,11 +7,3 @@ GRIST_DEFAULT_LOCALE=__LANGUAGE__
GRIST_ANON_PLAYGROUND=false GRIST_ANON_PLAYGROUND=false
REDIS_URL=redis://localhost:6379/__REDIS_DB__ REDIS_URL=redis://localhost:6379/__REDIS_DB__
GRIST_INST_DIR=__DATA_DIR__ 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

View file

@ -104,13 +104,6 @@ ram.runtime = "50M"
# and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed) # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
packages = "python3.9 python3.9-venv" 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.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
extras.yarn.packages = ["yarn"] extras.yarn.packages = ["yarn"]
[resources.database]
type = "postgresql"