{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"Web Dev with Matt","title":"How to set build arguments in Docker Compose's config file","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/26639b3d\"></iframe>","width":"100%","height":180,"duration":280,"description":"You can specify build arguments in Dockerfiles to set variables required at build time. However, when you're using Docker Compose and one (or more) of the services in the configuration builds based on a Dockerfile, how do you specify build arguments for it? In this episode, I step through how to specify them in Compose configuration files.\nLinks from the episode\nSpecifying build arguments with Docker Compose\nDockerfile build arguments\nDocker Compose up options\nWant to grow your knowledge further?\nCheck out the books below, where you can grow your web development skills in a very focused, very hands-on way.\nDocker Essentials\nMezzio Essentials\nHosted and produced by: Matthew Setter.\nWebsite: https://matthewsetter.com\nFollow me on: Twitter and LinkedIn.\nIf you like the podcast, and want to support it, how about buying me a coffee?","thumbnail_url":"https://img.transistorcdn.com/ErogIDxqOFQN8RVLHvl3XfLOJ_kkPEv3rY7vQp7PDxI/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzEyNjc1LzE2NzIz/ODI3ODYtYXJ0d29y/ay5qcGc.webp","thumbnail_width":300,"thumbnail_height":300}