Localhost in change port

I think it is still not enough. Please, share an example step by step with sharable configuration files and commands. For example:

  1. My goal was to…
  2. Here is how I tried:
    docker compose up -d
    
  3. My compose file is:
    services:
       server:
         # ....
    
    it worked.
  4. Then I changed the IP in the 13th line from X to Y.
  5. This is my current compose file after the change:
    Paste your new code here
    
  6. I ran this command:
    docker compose up -d
    
  7. It failed with the following error message:
    Paste your error message here
    

Don’t forget to format your message properly:

1 Like