Archived
1
0
Fork 0
This repository has been archived on 2024-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
dockerfiles/pocketbase/pocketbase.sh
2022-07-23 12:45:12 +02:00

13 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