From b7c1922d808ef8d84291b3a42cf69e74864babf6 Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Fri, 9 Feb 2024 12:09:47 +0100 Subject: [PATCH] add extra_hosts example in yaml config example --- src/docker-compose.yml-EXAMPLE | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/docker-compose.yml-EXAMPLE b/src/docker-compose.yml-EXAMPLE index 957b0e1..cf53561 100644 --- a/src/docker-compose.yml-EXAMPLE +++ b/src/docker-compose.yml-EXAMPLE @@ -314,6 +314,13 @@ services: # MYSQL cert path #- /path/to/cert/folder:/mysql-cert + # This part is just an example for having a custom DNS entry in /etc/hosts of the container + # Use it if DNS resolution cannot work for some reason + # The "extra_hosts" key must be aligned at the same indentation level as "ports" or "volumes" or "networks" blocks. + # + # extra_hosts: + # - internal.s3.example.org:10.12.34.56 + networks: - elabftw-net