Port Publishing When Running with Docker Compose

By default, docker-compose run does not publish the service’s ports. You can either pass the --service-ports option to publish the ports as they are defined in the docker-compose.yml, or use the -p option to publish all ports.

See the documentation for docker-compose run

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)