обновление конфигов nginx и docker

This commit is contained in:
brusnitsyn
2025-12-19 17:01:47 +09:00
parent 9057d3e8ad
commit 2bafa7f073
5 changed files with 431 additions and 141 deletions

View File

@@ -15,12 +15,13 @@ services:
volumes:
- ./.env:/var/www/.env
- ./docker/php.ini:/usr/local/etc/php/conf.d/app.ini
- ./storage/logs:/var/www/storage/logs
networks:
- app-network
#Nginx Service
webserver:
image: nginx:alpine
image: nginx:1.29.4
container_name: kartoteka_nginx
restart: unless-stopped
tty: true
@@ -28,7 +29,9 @@ services:
- "8090:80"
volumes:
- ./:/var/www
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf
- ./docker/app.conf:/etc/nginx/conf.d/default.conf
- ./docker/nginx.conf:/etc/nginx/nginx.conf
- ./docker/blocked_ips.map:/etc/nginx/blocked_ips.map
networks:
- app-network