changed port 8000 to 80, fix version

This commit is contained in:
armiejean 2025-03-26 15:25:57 +08:00
parent 628df17737
commit 16710e7924
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
version: '3.8'
services:
# Laravel App
@ -6,7 +5,7 @@ services:
build:
context: ./docker/php
dockerfile: Dockerfile
container_name: laravel-docker
container_name: laravel-app
restart: always
working_dir: /var/www
volumes:
@ -61,7 +60,7 @@ services:
container_name: nginx-web
restart: always
ports:
- "8000:80"
- "80:80"
volumes:
- .:/var/www
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro