<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>docker-compose on keyes.ie</title>
    <link>https://keyes.ie/tags/docker-compose/</link>
    <description>Recent content in docker-compose on keyes.ie</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 08 Jan 2018 09:50:00 +0000</lastBuildDate>
    
	<atom:link href="https://keyes.ie/tags/docker-compose/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Docker Compose Default Environment Variables</title>
      <link>https://keyes.ie/docker-compose-default-environment-variables/</link>
      <pubDate>Mon, 08 Jan 2018 09:50:00 +0000</pubDate>
      
      <guid>https://keyes.ie/docker-compose-default-environment-variables/</guid>
      <description>Use the environment section to set an environment variable in a container via docker-compose:
environment: - DB_HOST=${DB_HOST} After docker-compose up the value of DB_HOST inside the container will be empty. To set the default value if the environment variable is empty or not set, use the following syntax:
environment: - DB_HOST=${DB_HOST:-localhost} To provide values for DB_HOST, either set it in the .env file or pass it on the command line:</description>
    </item>
    
  </channel>
</rss>