From c6ec31a211429ea815d459f0309e3a9f71a7509d Mon Sep 17 00:00:00 2001 From: Tushar <30565750+tushar5526@users.noreply.github.com> Date: Thu, 28 Dec 2023 00:57:37 +0530 Subject: [PATCH] fix: update env var in docker compose --- server/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/docker-compose.yml b/server/docker-compose.yml index 624ccf1..28405eb 100644 --- a/server/docker-compose.yml +++ b/server/docker-compose.yml @@ -15,10 +15,12 @@ services: - 5000:5000 volumes: # hack to bypass file resource sharing error to make my development easy on mac + # docker mount dir not meant to be used on linux + # not tested and no support for windows server 💩 - ./deployments:${DOCKER_MOUNT_DIR:-/deployments} - ./nginx-confs:/nginx-confs - /var/run/docker.sock:/var/run/docker.sock environment: - BASE_DIR: '/Users/tusharsamagra/projects/sarthi/server/deployments' + BASE_DIR: ${DOCKER_MOUNT_DIR:-/deployments} NGINX_PROXY_CONF_LOCATION: '/nginx-confs' ENV: local