ale

    ale

    1 year ago
    Hi folks, is it possible to pass environment variables to containers when starting prefect agent in Docker mode from command line? I see we can pass volumes, but not environment variables. Is this possible?
    j

    josh

    1 year ago
    @ale You should be able to pass in environment variables like:
    prefect agent docker start --env bleh=foo --env asdf=ghji -e more=env
    Michael Adkins

    Michael Adkins

    1 year ago
    🙂
    prefect agent docker start --help
    lists this option
    ale

    ale

    1 year ago
    Forgot to mention that I'm still on prefect 0.13.13. But maybe it just works even with 0.13.13