fix: pass OSRM_URL from root .env into estore container
env_file only reads estore/.env; the root .env value wasn't reaching the container. Wiring it through compose environment: fixes this. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c240ec4ce6
commit
134705792c
@ -75,6 +75,8 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
env_file: ./estore/.env
|
env_file: ./estore/.env
|
||||||
|
environment:
|
||||||
|
OSRM_URL: ${OSRM_URL} # injected from root .env; overrides estore/.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./estore/data:/app/data
|
- ./estore/data:/app/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user