this post was submitted on 25 Nov 2023
2 points (100.0% liked)

Homelab

371 readers
9 users here now

Rules

founded 1 year ago
MODERATORS
 

I am setting some common logging variables for each of my instances and wandering how can i set an environment variable so i can reference the value instead of directly setting the value?

you are viewing a single comment's thread
view the rest of the comments
[–] Kltpzyxmm@alien.top 1 points 11 months ago

Env variables are done inside the container definition like docker compose