Skip to content

Commit

Permalink
add extra_hosts example in yaml config example
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Feb 9, 2024
1 parent a77c32d commit b7c1922
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/docker-compose.yml-EXAMPLE
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b7c1922

Please sign in to comment.