Update README.md

This commit is contained in:
2022-11-01 09:56:17 +02:00
parent e86d6c7f30
commit 7797c1cef0
3 changed files with 41 additions and 9 deletions

View File

@@ -11,13 +11,16 @@ services:
- default #if you're using networks between containers
#Nginx server
nginx-server:
image: nginx:alpine
image: jkaninda/nginx-fpm:alpine
container_name: nginx-server
restart: unless-stopped
ports:
- 80:80
volumes:
- ./laravel:/var/www/html
- ./example/default.conf:/etc/nginx/conf.d/default.conf
environment:
- DOCUMENT_ROOT=/var/www/html/public
- CLIENT_MAX_BODY_SIZE=20M
- PHP_FPM_HOST=php-fpm:9000
networks:
- default