[clug] Docker talk slides
Brad Marshall
brad.marshall at gmail.com
Fri Nov 29 00:41:17 UTC 2019
Hi Peter,
On Fri, Nov 29, 2019 at 10:52 AM Peter Barker
<pbarker at barker.dropbear.id.au> wrote:
> Quick question. This environment variable:
>
> WORDPRESS_DB_HOST: db:3306
>
> Is that 'db' there magic, or does the resolution need to be handled
> somehow? If runtime resolution is required, how would that typically be
> handled?
Have another look at the compose file - its the name listed for the
mysql container, they're linked together. So it can talk directly to
it from that.
Thanks,
Brad
More information about the linux
mailing list