fix: add env vars to control cache type for home server

This commit is contained in:
Karol Sójko
2023-05-04 12:11:19 +02:00
parent d56bbacc0b
commit c8ea2ab199
5 changed files with 7 additions and 2 deletions

View File

@@ -60,6 +60,9 @@ fi
if [ -z "$DB_TYPE" ]; then
export DB_TYPE="mysql"
fi
if [ -z "$CACHE_TYPE" ]; then
export CACHE_TYPE="redis"
fi
export DB_MIGRATIONS_PATH="dist/migrations/*.js"
#########