docker: add compose profiles notes

This commit is contained in:
Marcello 2025-01-16 09:37:14 +01:00
parent 48a415e7e4
commit 3324f62885
No known key found for this signature in database

View file

@ -305,6 +305,8 @@ services:
extra_hosts: # add hostname mappings to container network interface config
- <hostname>:<ip>
- <hostname>:host-gateway # map host machine network
profiles: # partition services into sets
- <profile_name>
networks: # attach container to one or more networks
- <network_name>
depends_on: # make sure dependencies are running before this container