DONE: remove nginx for local docker compose

This commit is contained in:
ISMAIL MASSERAN
2026-10-01 13:45:40 +08:00
parent abccad3219
commit 464d3e8dbb
+3 -10
View File
@@ -5,6 +5,8 @@ services:
dockerfile: docker/php/Dockerfile dockerfile: docker/php/Dockerfile
target: development target: development
working_dir: /var/www/html working_dir: /var/www/html
ports:
- "8081:8000"
volumes: volumes:
- ./:/var/www/html:cached - ./:/var/www/html:cached
environment: environment:
@@ -15,16 +17,7 @@ services:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
depends_on: depends_on:
- mysql - mysql
command: ["php", "artisan", "serve", "--host=0.0.0.0", "--port=8000"]
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
mysql: mysql:
image: mysql:8.0 image: mysql:8.0