fixes
This commit is contained in:
@@ -20,6 +20,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: >
|
command: >
|
||||||
sh -c "
|
sh -c "
|
||||||
|
mkdir -p storage bootstrap/cache storage/logs &&
|
||||||
chown -R www-data:www-data storage bootstrap/cache &&
|
chown -R www-data:www-data storage bootstrap/cache &&
|
||||||
php artisan package:discover --ansi &&
|
php artisan package:discover --ansi &&
|
||||||
php artisan storage:link --ansi || true &&
|
php artisan storage:link --ansi || true &&
|
||||||
@@ -49,7 +50,12 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env.docker
|
- .env.docker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["sh", "-c", "php artisan queue:work --sleep=3 --tries=3 --max-time=3600"]
|
command: >
|
||||||
|
sh -c "
|
||||||
|
mkdir -p storage bootstrap/cache storage/logs &&
|
||||||
|
chown -R www-data:www-data storage bootstrap/cache &&
|
||||||
|
php artisan queue:work --sleep=3 --tries=3 --max-time=3600
|
||||||
|
"
|
||||||
volumes:
|
volumes:
|
||||||
- storage_data:/var/www/html/storage
|
- storage_data:/var/www/html/storage
|
||||||
- bootstrap_cache:/var/www/html/bootstrap/cache
|
- bootstrap_cache:/var/www/html/bootstrap/cache
|
||||||
@@ -68,7 +74,12 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env.docker
|
- .env.docker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["sh", "-c", "php artisan schedule:work"]
|
command: >
|
||||||
|
sh -c "
|
||||||
|
mkdir -p storage bootstrap/cache storage/logs &&
|
||||||
|
chown -R www-data:www-data storage bootstrap/cache &&
|
||||||
|
php artisan schedule:work
|
||||||
|
"
|
||||||
volumes:
|
volumes:
|
||||||
- storage_data:/var/www/html/storage
|
- storage_data:/var/www/html/storage
|
||||||
- bootstrap_cache:/var/www/html/bootstrap/cache
|
- bootstrap_cache:/var/www/html/bootstrap/cache
|
||||||
|
|||||||
Reference in New Issue
Block a user