Skip to content

Commit d2806aa

Browse files
feat: support webauthn core (#54)
* feat: support webauthn core * fix: formatting * feat: add bulk migration related env vars --------- Co-authored-by: Sattvik Chakravarthy <sattvik@supertokens.com>
1 parent c28dccd commit d2806aa

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM ubuntu:bionic-20200219 as tmp
22
ARG PLUGIN_NAME=postgresql
33
ARG PLAN_TYPE=FREE
4-
ARG CORE_VERSION=10.0.3
5-
ARG PLUGIN_VERSION=8.0.3
4+
ARG CORE_VERSION=10.1.0
5+
ARG PLUGIN_VERSION=8.1.0
66
RUN apt-get update && apt-get install -y curl zip
77
RUN OS= && dpkgArch="$(dpkg --print-architecture)" && \
88
case "${dpkgArch##*-}" in \

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ Available environment variables
5151
- OAUTH\_PROVIDER\_URL\_CONFIGURED\_IN\_OAUTH\_PROVIDER
5252
- OAUTH\_CLIENT\_SECRET\_ENCRYPTION\_KEY
5353
- BULK\_MIGRATION\_PARALLELISM
54+
- BULK\_MIGRATION\_BATCH\_SIZE
55+
- BULK\_MIGRATION\_CRON\_ENABLED
56+
- WEBAUTHN\_RECOVER\_ACCOUNT\_TOKEN\_LIFETIME
5457
- **POSTGRESQL:**
5558
- POSTGRESQL\_CONNECTION\_URI
5659
- POSTGRESQL\_USER

docker-entrypoint.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,16 @@ then
379379
echo "bulk_migration_parallelism: $BULK_MIGRATION_PARALLELISM" >> $CONFIG_FILE
380380
fi
381381

382+
if [ ! -z $BULK_MIGRATION_BATCH_SIZE ]
383+
then
384+
echo "bulk_migration_batch_size: $BULK_MIGRATION_BATCH_SIZE" >> $CONFIG_FILE
385+
fi
386+
387+
if [ ! -z $WEBAUTHN_RECOVER_ACCOUNT_TOKEN_LIFETIME ]
388+
then
389+
echo "webauthn_recover_account_token_lifetime: $WEBAUTHN_RECOVER_ACCOUNT_TOKEN_LIFETIME" >> $CONFIG_FILE
390+
fi
391+
382392
fi
383393

384394
# check if no options has been passed to docker run

0 commit comments

Comments
 (0)