env in docker compose #6070
              
                Unanswered
              
          
                  
                    
                      BenjaminQuandt
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i use the setEnv with a docker-compose.yml. Overall it works, but i want to know how the setEnv will be replace the var in the file.
I use a port var in my docker-compose file:
what i change with that:
That works just fine, but i also want to use it in path mappings:
I want to split the logs, so i need to replace the 1 with something else.
How do i do that? how does it notice, that i only swaped a part of it?
Or is it not possible and i have to replace the whole string (./../../logs1:/mylog)?
Thank you,
Benjamin
Beta Was this translation helpful? Give feedback.
All reactions