Refactoring

This commit is contained in:
2022-09-05 14:41:20 +02:00
parent 457f7ee11c
commit bcbd0c7faf
93 changed files with 11092 additions and 48 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '3'
services:
php-fpm:
image: jkaninda/laravel-php-fpm:latest
container_name: php-fpm
restart: unless-stopped
volumes:
#Project root
- ./laravel:/var/www/html
networks:
- default #if you're using networks between containers
#Nginx server
nginx-server:
image: nginx:alpine
container_name: nginx-server
restart: unless-stopped
ports:
- 80:80
volumes:
- ./laravel:/var/www/html
- ./default.conf:/etc/nginx/conf.d/default.conf
networks:
- default