DEV Community

Discussion on: Wait for MongoDB, Postgres or MySql to start on Docker

Collapse
 
inspiraller profile image
steve

So how does this work if you want to include other variables in environment?

eg

    environment:
      - WAIT_HOSTS: mongo:27017 
      - ME_CONFIG_OPTIONS_EDITORTHEME=ambiance
      - ME_CONFIG_BASICAUTH_USERNAME=${MONGO_USER}
Enter fullscreen mode Exit fullscreen mode