use docker image

This commit is contained in:
Chimezie Enyinnaya
2024-09-10 15:30:33 +01:00
parent e8bc2dc107
commit ef2ce4de97
2 changed files with 5 additions and 10 deletions

View File

@@ -20,8 +20,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
if ($this->app->environment('production')) {
URL::forceScheme('https');
};
// if ($this->app->environment('production')) {
// URL::forceScheme('https');
// };
}
}

View File

@@ -2,9 +2,7 @@ version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
image: 'ammezie/laravelcoolify:latest'
volumes:
- '.:/var/www/html'
environment:
@@ -58,10 +56,7 @@ services:
- mysql
worker:
# image: 'ammezie/laravelcoolify:latest'
build:
context: .
dockerfile: Dockerfile
image: 'ammezie/laravelcoolify:latest'
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3"]
volumes:
- '.:/var/www/html'