diff --git a/docker-compose.yml b/docker-compose.yml index cedee45..c0bb32b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,7 @@ services: laravel: condition: service_healthy ports: - - "8080:80" + - "8000:80" volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf - ./laravel:/var/www/html diff --git a/laravel/.env.example b/laravel/.env.example index 35db1dd..76b90c2 100644 --- a/laravel/.env.example +++ b/laravel/.env.example @@ -20,12 +20,12 @@ LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug -DB_CONNECTION=sqlite -# DB_HOST=127.0.0.1 -# DB_PORT=3306 -# DB_DATABASE=laravel -# DB_USERNAME=root -# DB_PASSWORD= +DB_CONNECTION=mysql +DB_HOST=mysql +DB_PORT=3306 +DB_DATABASE=laravel_db +DB_USERNAME=root +DB_PASSWORD=rootpassword SESSION_DRIVER=database SESSION_LIFETIME=120 diff --git a/laravel/laravel_db b/laravel/laravel_db index 3c8b54e..e8306dc 100644 Binary files a/laravel/laravel_db and b/laravel/laravel_db differ