From d98b8fc065afacca6f095ad94111e6ae8ec72c3e Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Wed, 10 Apr 2024 19:11:09 -0400 Subject: [PATCH] Update compose to use new custom nginx infrastructure --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 10fc2a3..1b6db08 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,14 +3,17 @@ services: nginx: container_name: nginx-nextcloud - image: nginx:latest + build: ./nginx ports: - 80:80 - 443:443 volumes: - ${NEXTCLOUD_DIR}:/var/www/html - ${DATA_DIR}:/data - - ./nginx.conf:/etc/nginx/nginx.conf:ro + environment: + - NEXTCLOUD_PHP_FPM_HOST=${NEXTCLOUD_PHP_FPM_HOST} + - NEXTCLOUD_DOMAIN=${NEXTCLOUD_DOMAIN} + - NEXTCLOUD_MAX_UPLOAD_SIZE=${NEXTCLOUD_MAX_UPLOAD_SIZE} networks: - nextcloud depends_on: