changed port 8000 to 80, fix version
This commit is contained in:
parent
628df17737
commit
16710e7924
|
@ -1,4 +1,3 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# Laravel App
|
# Laravel App
|
||||||
|
@ -6,7 +5,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./docker/php
|
context: ./docker/php
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: laravel-docker
|
container_name: laravel-app
|
||||||
restart: always
|
restart: always
|
||||||
working_dir: /var/www
|
working_dir: /var/www
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -61,7 +60,7 @@ services:
|
||||||
container_name: nginx-web
|
container_name: nginx-web
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www
|
- .:/var/www
|
||||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|
Loading…
Reference in New Issue