First Upload

This commit is contained in:
2024-10-26 20:34:27 +00:00
commit a1e49121cc
137 changed files with 4053 additions and 0 deletions

21
docker-compose.yaml Normal file
View File

@@ -0,0 +1,21 @@
version: '3'
services:
nginx:
image: nginx:latest
ports:
- ${HTTP_PORT}:80
- ${HTTPS_PORT}:443
volumes:
- ./docker-persist/html:/usr/share/nginx/html #Expose HTML webroot to host
- ./docker-persist/nginx:/etc/nginx #Expose nging conf folder to host
- ./docker-persist/log:/var/log/nginx #Expose nginx log folder to host
restart: always
links:
- php-fpm
php-fpm:
image: php:8-fpm
volumes:
- ./docker-persist/html:/usr/share/nginx/html #Expose HTML webroot to php-fpm
restart: always