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

Homelab

22 readers
1 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?

top 1 comments
sorted by: hot top controversial new old
[–] Kltpzyxmm@alien.top 1 points 11 months ago

Env variables are done inside the container definition like docker compose