• Gamma@beehaw.orgOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    The env file is the weirdest part, the container itself has a required environment variable and if I don’t pass it in command line (only have it in the test compose file) the base compose fails because it has no port.

    Most of the other commands are to merge the compose files so I can keep my base compose file clean!

    • Kache@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 days ago

      Simpler to keep everything in one compose file if you can, under a test service that doesn’t build unless explicitly named

      Un-weird that env var and use the normal, boring feature of defining environment under your test service