Skip to content

Commit

Permalink
fix: generate JWT keys on first launch
Browse files Browse the repository at this point in the history
  • Loading branch information
maelgangloff committed Aug 15, 2024
1 parent c989478 commit f34c1a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frankenphp/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi
fi

php bin/console lexik:jwt:generate-keypair || true

setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var
fi
Expand Down

0 comments on commit f34c1a5

Please sign in to comment.