Update cron to depend on app

- prevents race to copy files
This commit is contained in:
Lee Ween Jiann
2021-01-10 21:18:30 +08:00
parent 15625f41f9
commit 8ca8e459be

View File

@@ -70,7 +70,9 @@ services:
- ./docker/app/public:/var/www/app/public:rw,delegated - ./docker/app/public:/var/www/app/public:rw,delegated
- ./docker/app/storage:/var/www/app/storage:rw,delegated - ./docker/app/storage:/var/www/app/storage:rw,delegated
command: command:
- cron.sh - cron.sh
depends_on:
- app
networks: networks:
- invoiceninja - invoiceninja
extra_hosts: extra_hosts: