Compare commits

...

2 commits

Author SHA1 Message Date
119ef5c815
add unzip to docker packages 2025-05-07 14:01:59 +02:00
5711bfac5c add generate jwt secret 2025-05-07 13:42:01 +02:00
2 changed files with 3 additions and 1 deletions

View file

@ -1,2 +1,2 @@
curl
curl unzip
#list additional packages to be installed inside the container on the first line only

2
setup
View file

@ -47,8 +47,10 @@ done
docker run --user $dockerUID:$dockerGID --rm -v ./igniter:/app -it script_igniter composer install
cp env_docker .env
cp env_docker igniter/.env
echo "authjwt.keys.default.0.secret = $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1)" >> .env
echo "dockerUID=$dockerUID" >> .env
echo "dockerGID=$dockerGID" >> .env
echo "authjwt.keys.default.0.secret = $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1)"
if [ -z "$(ls -A dbdata)" ]; then
echo "Initialising database.."