Difference between revisions of "Expose:"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
https://docs.docker.com/compose/compose-file/compose-file-v3/#expose | https://docs.docker.com/compose/compose-file/compose-file-v3/#expose | ||
− | + | Expose ports without publishing them to the host machine - they'll only be accessible to linked services. Only the internal port can be specified. | |
* [[EXPOSE]] | * [[EXPOSE]] |
Revision as of 09:40, 21 April 2024
https://docs.docker.com/compose/compose-file/compose-file-v3/#expose
Expose ports without publishing them to the host machine - they'll only be accessible to linked services. Only the internal port can be specified.
See also
docker-compose.yml: services:, volumes:, configs:, secrets:, networks:, driver:, depends_on:, extends:
docker-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:
Advertising: