fmg080722p / entrypoint.sh
dsdfd34's picture
Initial deploy via automation script
1705e5d verified
Raw History Blame Contribute Delete
244 Bytes
#!/bin/bash
# Start the background updater loop
# It runs get.php every 60 seconds
(
while true; do
php /var/www/html/get.php
sleep 60
done
) &
# Start Apache in the foreground
docker-php-entrypoint apache2-foreground