add template files and compose file, fix syntax errors in template
This commit is contained in:
27
docker-compose.yml
Executable file
27
docker-compose.yml
Executable file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
nginx-web:
|
||||
container_name: nginx-web
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./nginx/configs/:/etc/nginx/
|
||||
- ./nginx/logs/:/var/log/nginx
|
||||
#- /home/boris/OneDrive/CSCS-Y2/Client Server Systems/Ecobuddy/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./:/var/www/html
|
||||
#- /home/boris/OneDrive/CSCS-Y2/Client Server Systems/Ecobuddy/access.log:/var/log/nginx/access.log
|
||||
#- /home/boris/OneDrive/CSCS-Y2/Client Server Systems/Ecobuddy/error.log:/var/log/nginx/error.log
|
||||
ports:
|
||||
- "8088:80"
|
||||
environment:
|
||||
- NGINX_HOST=localhost
|
||||
- NGINX_PORT=8088
|
||||
links:
|
||||
- php-fpm
|
||||
depends_on:
|
||||
- php-fpm
|
||||
php-fpm:
|
||||
container_name: php-fpm
|
||||
image: php:8-fpm
|
||||
volumes:
|
||||
- ./:/var/www/
|
||||
- /home/boris/OneDrive/CSCS-Y2/Client Server Systems/Ecobuddy/nginx/php/config/www.conf:/usr/local/etc/php-fpm.d/www.conf
|
||||
- /home/boris/OneDrive/CSCS-Y2/Client Server Systems/Ecobuddy/nginx/php/fpm-php.www.log:/var/log/fpm-php.www.log
|
Reference in New Issue
Block a user