mirror of
https://github.com/friendica/docker
synced 2025-01-31 03:51:06 +01:00
841a0b438b
- Use APCu cache as default caching mechanism - Add explicit redis environment variables for redis lock-support - Add a lot of environment variables, which aren't part of admin-page - Add possibility to disable URL & E-Mail validation (for demo-page) - Dynamically copy /config/ content without overwriting existing one Add opcache support for performance reason Add multi-core support for php extensions install Bump redis version to 5.0.1 (last stable) Exclude /log/ directory during sync (to avoid deleting logs)
11 lines
309 B
Bash
11 lines
309 B
Bash
#!/bin/sh
|
|
trap "break;exit" HUP INT TERM
|
|
|
|
while [ ! -f /var/www/html/config/local.ini.php ] && [ ! -f /var/www/html/config/local.config.php ]; do
|
|
sleep 1
|
|
done
|
|
|
|
# TODO let the database and the autoinstall time to complete - not winning a beauty contest
|
|
sleep 15s
|
|
|
|
php /var/www/html/bin/daemon.php -f start
|