skip to Main Content

How to pass argument to docker-compose

import argparse parser = argparse.ArgumentParser() parser.add_argument( '--strat', type=str, ) args = parser.parse_args() strat = args.strat I would like to right my docker-compose.yml file such as I would just pass my argument from there. I did version: "3.3" services: mm: container_name:…

VIEW QUESTION
Back To Top
Search