# \#environment-variable

**URL:** https://discourse.nodered.org/tag/environment-variable/214.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [Environment variables not available using docker compose](https://discourse.nodered.org/t/environment-variables-not-available-using-docker-compose/97911)

<div class="topic-metadata">

**Author:** [@bigbean17](https://discourse.nodered.org/u/bigbean17)\
**Replies:** 1\
**Last updated:** [2 July 2025 13:35 UTC](https://discourse.nodered.org/t/environment-variables-not-available-using-docker-compose/97911 "2025-07-02T13:35:20Z")

</div>

Hi all, I'm migrating my Node-RED deployment from systemd to Docker Compose, and I'm running into an issue with environment variables. Previously, when using systemctl, I used an EnvironmentFile=/etc/nodered/.env in my…

---

## [Quick Question Around Subflow EV's](https://discourse.nodered.org/t/quick-question-around-subflow-evs/96159)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 2\
**Last updated:** [21 March 2025 21:52 UTC](https://discourse.nodered.org/t/quick-question-around-subflow-evs/96159 "2025-03-21T21:52:12Z")

</div>

I tend to add a UI defined Variable for a subflow - :white\_check\_mark: But inside the subflow, it needs to get updated later (periodically) So lets call this EV, the "Initial Value" (the label at least, but behind the …
