From 464d3e8dbb40c10d6d53ea049a0b2dcd0416ddba Mon Sep 17 00:00:00 2001 From: ISMAIL MASSERAN Date: Thu, 1 Oct 2026 13:45:40 +0800 Subject: [PATCH] DONE: remove nginx for local docker compose --- docker-compose.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ac531a3c..590d4d95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,8 @@ services: dockerfile: docker/php/Dockerfile target: development working_dir: /var/www/html + ports: + - "8081:8000" volumes: - ./:/var/www/html:cached environment: @@ -15,16 +17,7 @@ services: - "host.docker.internal:host-gateway" depends_on: - mysql - - web: - image: nginx:1.25-alpine - ports: - - "8081:80" - volumes: - - ./:/var/www/html:cached - - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro - depends_on: - - app + command: ["php", "artisan", "serve", "--host=0.0.0.0", "--port=8000"] mysql: image: mysql:8.0