From ff21d82af5660a0813beaea5139f221e3b45151c Mon Sep 17 00:00:00 2001 From: ISMAIL MASSERAN Date: Thu, 1 Oct 2026 13:45:34 +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 2cab859..739b8bd 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: + - "8080:8000" volumes: - ./:/var/www/html:cached environment: @@ -12,16 +14,7 @@ services: APP_DEBUG: "true" depends_on: - mysql - - web: - image: nginx:1.25-alpine - ports: - - "8080:80" - volumes: - - ./:/var/www/html:cached - - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro - depends_on: - - app + command: ["php", "-S", "0.0.0.0:8000", "-t", "public"] mysql: image: mysql:8.0