terminusdb-app/start.sh

15 lines
327 B
Bash

#!/bin/bash
set -eu
chown -R cloudron:cloudron /app/data
export TERMINUSDB_ADMIN_PASS=root
export TERMINUSDB_SERVER_PORT=3000
export TERMINUSDB_AUTOLOGIN=true
export TERMINUSDB_ENABLE_WELCOME_SCREEN=true
export TERMINUSDB_SERVER_DB_PATH=/app/data
exec /usr/local/bin/gosu cloudron:cloudron /usr/local/bin/terminusdb serve