Difference between revisions of "Docker compose: networks"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
== Related terms == | == Related terms == | ||
* <code>[[--link]]</code> deprecated option | * <code>[[--link]]</code> deprecated option | ||
− | [[ports:]] | + | [[ports: (Docker compose)]] |
[[Category:Docker compose]] | [[Category:Docker compose]] |
Latest revision as of 09:49, 21 April 2024
https://docs.docker.com/compose/compose-file/#network-configuration-reference
networks: elastic: driver: bridge
Examples[edit]
Official:
services: proxy: image: example/proxy networks: - outside - default app: image: example/app networks: - default networks: outside: external: true
Related terms[edit]
--link
deprecated option
ports: (Docker compose)
Related terms[edit]
--network=host
See also[edit]
docker network [ ls | inspect
|create
|prune
], --networkdocker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:, docker-compose --env-file,services.deploy.resources
Advertising: