mirror of
https://github.com/YunoHost-Apps/grist_ynh.git
synced 2024-09-03 20:36:18 +02:00
Reintroduce GVisor
This commit is contained in:
parent
082f778999
commit
92a6ec5cd8
4 changed files with 6 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
APP_HOME_URL=https://__DOMAIN__
|
||||
GRIST_ORG_IN_PATH=true
|
||||
GRIST_SANDBOX_FLAVOR=pyodide
|
||||
GRIST_SANDBOX_FLAVOR=gvisor
|
||||
GRIST_HIDE_UI_ELEMENTS=billing,sendToDrive
|
||||
GRIST_DEFAULT_LOCALE=__LANGUAGE__
|
||||
GRIST_ANON_PLAYGROUND=false
|
||||
|
@ -8,6 +8,7 @@ REDIS_URL=redis://localhost:6379/__REDIS_DB__
|
|||
GRIST_DATA_DIR=__DATA_DIR__/docs/
|
||||
TYPEORM_DATABASE=__DATA_DIR__/home.db
|
||||
PORT=__PORT__
|
||||
PYTHON_VERSION=3
|
||||
|
||||
# Authentication
|
||||
GRIST_FORWARD_AUTH_HEADER=Email
|
||||
|
|
|
@ -82,3 +82,7 @@ ram.runtime = "150M"
|
|||
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"]
|
||||
|
||||
extras.gvisor.repo="deb https://storage.googleapis.com/gvisor/releases release main"
|
||||
extras.gvisor.key="https://gvisor.dev/archive.key"
|
||||
extras.gvisor.packages=[ "runsc" ]
|
||||
|
|
|
@ -37,10 +37,6 @@ pushd "$install_dir"
|
|||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean
|
||||
popd
|
||||
|
||||
pushd "$install_dir/sandbox/pyodide"
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH make setup
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -56,10 +56,6 @@ then
|
|||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH:$install_dir/node_modules/.bin yarn run build:prod
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean
|
||||
popd
|
||||
|
||||
pushd "$install_dir/sandbox/pyodide"
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH make setup
|
||||
popd
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue