AI-driven YouTube video generator that creates viral content automatically - from script to upload in minutes. Modern SaaS platform built with Laravel, Vue.js, n8n and Docker, featuring intelligent automation and seamless YouTube integration.
fix the docker-compose problem
Mohamed El aassal24c95dc7fd54
diff --git a/config/cors.php b/config/cors.phpnew file mode 100644index 0000000..27dec7b--- /dev/null+++ b/config/cors.php@@ -0,0 +1,12 @@+<?php++return [+ 'paths' => ['api/*', 'sanctum/csrf-cookie'],+ 'allowed_methods' => ['*'],+ 'allowed_origins' => ['*'],+ 'allowed_origins_patterns' => [],+ 'allowed_headers' => ['*'],+ 'exposed_headers' => [],+ 'max_age' => 0,+ 'supports_credentials' => false,+];diff --git a/docker-compose.yml b/docker-compose.ymlindex e18f198..41888b8 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -9,6 +9,8 @@ services:working_dir: /var/wwwexpose:- "9000"+ ports:+ - "5173:5173"volumes:- ./:/var/www- ./docker/php/local.ini:/usr/local/etc/php/conf.d/local.inidiff --git a/vite.config.js b/vite.config.jsindex fb81925..3572d2b 100644--- a/vite.config.js+++ b/vite.config.js@@ -22,4 +22,11 @@ export default defineConfig({'@': '/resources/js',},},+ server: {+ host: '0.0.0.0',+ port: 5173,+ hmr: {+ host: 'localhost',+ },+ },});