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

14 lines
189 B
Bash
Raw Normal View History

2022-07-23 12:45:12 +02:00
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