splitting nginx configuration into prod and local

This commit is contained in:
F4ilji
2025-04-17 21:50:21 +05:00
parent 21c4b7c528
commit 1399e2b8de
4 changed files with 101 additions and 9 deletions
+3 -1
View File
@@ -4,12 +4,14 @@ services:
image: nginx:1.27.2
volumes:
- ./:/var/www
- ./_docker/nginx/conf.d/:/etc/nginx/conf.d/
- ./_docker/nginx/${NGINX_ENV}/conf.d/:/etc/nginx/conf.d/
ports:
- "80:80"
container_name: ntspi-nginx
depends_on:
- app
env_file:
- .env
app:
build: