mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-06 06:27:25 +01:00
alpine working image
This commit is contained in:
@@ -24,20 +24,20 @@ services:
|
||||
ports:
|
||||
- 8000:80
|
||||
|
||||
cron:
|
||||
image: invoiceninja/invoiceninja
|
||||
links:
|
||||
- db:mysql
|
||||
env_file: .env
|
||||
volumes_from:
|
||||
- app
|
||||
entrypoint: |
|
||||
bash -c 'bash -s <<EOF
|
||||
trap "break;exit" SIGHUP SIGINT SIGTERM
|
||||
sleep 300s
|
||||
while /bin/true; do
|
||||
/usr/local/bin/php /var/www/app/artisan ninja:send-invoices
|
||||
/usr/local/bin/php /var/www/app/artisan ninja:send-reminders
|
||||
sleep 1d
|
||||
done
|
||||
EOF'
|
||||
# cron:
|
||||
# image: invoiceninja/invoiceninja
|
||||
# links:
|
||||
# - db:mysql
|
||||
# env_file: .env
|
||||
# volumes_from:
|
||||
# - app
|
||||
# entrypoint: |
|
||||
# bash -c 'bash -s <<EOF
|
||||
# trap "break;exit" SIGHUP SIGINT SIGTERM
|
||||
# sleep 300s
|
||||
# while /bin/true; do
|
||||
# /usr/local/bin/php /var/www/app/artisan ninja:send-invoices
|
||||
# /usr/local/bin/php /var/www/app/artisan ninja:send-reminders
|
||||
# sleep 1d
|
||||
# done
|
||||
# EOF'
|
||||
|
||||
Reference in New Issue
Block a user