14 lines
189 B
Bash
14 lines
189 B
Bash
|
|
||
|
set -x
|
||
|
set -e
|
||
|
|
||
|
if [ _${encryptionKey} != _ ]
|
||
|
then
|
||
|
enc="--encryptionEnv encryptionKey"
|
||
|
else
|
||
|
enc=""
|
||
|
fi
|
||
|
|
||
|
/app/pocketbase ${enc} --dir /data migrate
|
||
|
/app/pocketbase ${enc} --dir /data serve
|