Page MenuHomeDevCentral

No OneTemporary

diff --git a/files/usr/local/sbin/init-container b/files/usr/local/sbin/init-container
index 953b773..0f10220 100755
--- a/files/usr/local/sbin/init-container
+++ b/files/usr/local/sbin/init-container
@@ -1,20 +1,20 @@
#!/bin/sh
if [ -z "$APP_KEY" ]; then
echo "You must set APP_KEY environment variable when running this container."
echo
echo "This key would be dangerous to set automatically as you need it to stay"
echo "the same in production to avoid loss of encrypted and hashed data."
echo
echo "You can do so adding this argument to your container run command:"
- echo "-e \"APP_KEY=$(openssl rand -base64 36)\""
+ echo "-e \"APP_KEY=$(php artisan key:generate --show)\""
exit 1
fi
if [ ! -f .initialized ]; then
# Container is initialized according the environment variables
# passed to the container to setup the application.
/usr/local/bin/setup-container
fi
/usr/local/sbin/runsvdir-init

File Metadata

Mime Type
text/x-diff
Expires
Sun, Oct 12, 05:01 (6 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065033
Default Alt Text
(932 B)

Event Timeline