FusionDirectory-Docker/start.sh
2023-04-18 20:13:53 +02:00

13 lines
250 B
Bash

#!/bin/bash
if [ -n "$FD_PLUGINS" ]; then
apt-get update
plugins=()
for plugin in $FD_PLUGINS; do
plugins+=("fusiondirectory-plugin-$plugin")
done
apt-get install -yy "${plugins[@]}"
fi
php-fpm7.4
nginx -g 'daemon off;'