We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f00df50 commit 6d4a2c3Copy full SHA for 6d4a2c3
deployments/docker-entrypoint.sh
@@ -7,8 +7,18 @@ if [[ "$#" -gt 0 ]]; then
7
exit $?
8
fi
9
10
+
11
# check database and redis is ready
-pcheck -env CMD_DB_URL
12
+if [[ $CMD_DB_URL != "sqlite"* ]] ;
13
+then
14
+ pcheck -env CMD_DB_URL
15
+fi
16
17
+# Install sqlite3 if required
18
+if [[ $CMD_DB_URL == "sqlite"* ]] ;
19
20
+ npm install sqlite3
21
22
23
# run DB migrate
24
NEED_MIGRATE=${CMD_AUTO_MIGRATE:=true}
0 commit comments