Skip to content

Commit

Permalink
fix: update env var in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tushar5526 committed Dec 27, 2023
1 parent 5c433b1 commit c6ec31a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c6ec31a

Please sign in to comment.