Back to Docker

Services Environment

content/includes/compose/services-environment.md

18.09-release268 B
Original Source

The environment attribute defines environment variables set in the container. environment can use either an array or a map. Any boolean values; true, false, yes, no, should be enclosed in quotes to ensure they are not converted to True or False by the YAML parser.