use docker image
This commit is contained in:
@@ -20,8 +20,8 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
if ($this->app->environment('production')) {
|
// if ($this->app->environment('production')) {
|
||||||
URL::forceScheme('https');
|
// URL::forceScheme('https');
|
||||||
};
|
// };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,7 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
image: 'ammezie/laravelcoolify:latest'
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
volumes:
|
volumes:
|
||||||
- '.:/var/www/html'
|
- '.:/var/www/html'
|
||||||
environment:
|
environment:
|
||||||
@@ -58,10 +56,7 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
# image: 'ammezie/laravelcoolify:latest'
|
image: 'ammezie/laravelcoolify:latest'
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3"]
|
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3"]
|
||||||
volumes:
|
volumes:
|
||||||
- '.:/var/www/html'
|
- '.:/var/www/html'
|
||||||
|
|||||||
Reference in New Issue
Block a user