Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12241323
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
932 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rDCACHET Cachet Docker image
Attached
Detach File
Event Timeline
Log In to Comment