Symfony server:run in php Docker container

前端 未结 1 1274
无人共我
无人共我 2021-02-08 15:55

I have a php docker container where is my symfony project.

Here is my docker-compose.yml

php-fpm:
    build: ./php
    container_name: p         


        
相关标签:
1条回答
  • 2021-02-08 16:57

    Following @Alex Blex answer: It works when you run it on all interfaces.

     php bin/console server:run 0.0.0.0:8000
    
    0 讨论(0)
提交回复
热议问题