splitting nginx configuration into prod and local
This commit is contained in:
+3
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user