mirror of
https://github.com/Yannick7777/codeigniter-setup-script.git
synced 2025-09-10 00:03:03 +02:00
Compare commits
2 commits
3b2b3eefac
...
119ef5c815
Author | SHA1 | Date | |
---|---|---|---|
119ef5c815 |
|||
5711bfac5c |
2 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
||||||
curl
|
curl unzip
|
||||||
#list additional packages to be installed inside the container on the first line only
|
#list additional packages to be installed inside the container on the first line only
|
||||||
|
|
2
setup
2
setup
|
@ -47,8 +47,10 @@ done
|
||||||
docker run --user $dockerUID:$dockerGID --rm -v ./igniter:/app -it script_igniter composer install
|
docker run --user $dockerUID:$dockerGID --rm -v ./igniter:/app -it script_igniter composer install
|
||||||
cp env_docker .env
|
cp env_docker .env
|
||||||
cp env_docker igniter/.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 "dockerUID=$dockerUID" >> .env
|
||||||
echo "dockerGID=$dockerGID" >> .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
|
if [ -z "$(ls -A dbdata)" ]; then
|
||||||
echo "Initialising database.."
|
echo "Initialising database.."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue