We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14b05b9 + 2b230fb commit ea2b9b9Copy full SHA for ea2b9b9
root/etc/cont-init.d/50-config
@@ -8,6 +8,10 @@ mkdir -p \
8
[[ ! -f "/config/www/.env" ]] && \
9
cp /var/www/html/.env.example /config/www/.env
10
11
+# check for zero-length .env and alert user if found
12
+[[ ! -s "/config/www/.env" ]] && \
13
+ echo "WARNING: zero-length .env file detected. Please delete /config/www/.env and restart the container"
14
+
15
# create symlinks
16
symlinks=( \
17
/var/www/html/storage/uploads/files \
0 commit comments