{"action":"created","issue":{"url":"https://api.github.com/repos/Actency/docker-apache-php/issues/2","repository_url":"https://api.github.com/repos/Actency/docker-apache-php","labels_url":"https://api.github.com/repos/Actency/docker-apache-php/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Actency/docker-apache-php/issues/2/comments","events_url":"https://api.github.com/repos/Actency/docker-apache-php/issues/2/events","html_url":"https://github.com/Actency/docker-apache-php/issues/2","id":155455088,"number":2,"title":"Xdebug ne fonctionne pas par défaut sur ubunutu ?","user":{"login":"acteg","id":7838650,"avatar_url":"https://avatars.githubusercontent.com/u/7838650?v=3","gravatar_id":"","url":"https://api.github.com/users/acteg","html_url":"https://github.com/acteg","followers_url":"https://api.github.com/users/acteg/followers","following_url":"https://api.github.com/users/acteg/following{/other_user}","gists_url":"https://api.github.com/users/acteg/gists{/gist_id}","starred_url":"https://api.github.com/users/acteg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acteg/subscriptions","organizations_url":"https://api.github.com/users/acteg/orgs","repos_url":"https://api.github.com/users/acteg/repos","events_url":"https://api.github.com/users/acteg/events{/privacy}","received_events_url":"https://api.github.com/users/acteg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Actency/docker-apache-php/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":{"login":"TehesFR","id":5724684,"avatar_url":"https://avatars.githubusercontent.com/u/5724684?v=3","gravatar_id":"","url":"https://api.github.com/users/TehesFR","html_url":"https://github.com/TehesFR","followers_url":"https://api.github.com/users/TehesFR/followers","following_url":"https://api.github.com/users/TehesFR/following{/other_user}","gists_url":"https://api.github.com/users/TehesFR/gists{/gist_id}","starred_url":"https://api.github.com/users/TehesFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TehesFR/subscriptions","organizations_url":"https://api.github.com/users/TehesFR/orgs","repos_url":"https://api.github.com/users/TehesFR/repos","events_url":"https://api.github.com/users/TehesFR/events{/privacy}","received_events_url":"https://api.github.com/users/TehesFR/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-05-18T09:27:05Z","updated_at":"2016-05-18T13:48:38Z","closed_at":null,"body":"Voila ce que j'ai fais dans l'ordre : \r\n\r\n- active xdebug sur phpstorm.\r\n- active xdebug sur chrome.\r\n- Le port 9000 est bien exposé, voir la liste des CONTAINER.\r\n\r\nCONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                                            NAMES\r\n6f477481508f        actency/docker-apache-php:5.6   \"/docker-entrypoint.s\"   18 hours ago        Up 18 hours         0.0.0.0:80->80/tcp, 0.0.0.0:9000->9000/tcp       ultrabox_web_1\r\n83b8b9a5b7fc        actency/docker-phpmyadmin       \"/home/entrypoint.sh\"    18 hours ago        Up 18 hours         0.0.0.0:8010->80/tcp                             ultrabox_phpmyadmin_1\r\nb455274cd10f        actency/docker-mysql:5.6        \"docker-entrypoint.sh\"   18 hours ago        Up 18 hours         0.0.0.0:3306->3306/tcp                           ultrabox_database_1\r\n29fbf3452584        memcached                       \"/entrypoint.sh memca\"   18 hours ago        Up 18 hours         0.0.0.0:11211->11211/tcp                         ultrabox_memcache_1\r\n8421aa1383ae        mailhog/mailhog                 \"/MailHog\"               18 hours ago        Up 18 hours         0.0.0.0:1025->1025/tcp, 0.0.0.0:8025->8025/tcp   ultrabox_mailhog_1\r\n514b74c674cf        4c30baf139c9                    \"/bin/bash -c '/opt/s\"   7 months ago        Up 18 hours         0.0.0.0:8080->8983/tcp                           ultra53_solr-5.2.1\r\n\r\nMon fichier compose de base est : \r\n\r\n```yaml\r\nversion: '2'\r\nservices:\r\n  # web with xdebug - actency images\r\n  web:\r\n    # actency/docker-apache-php available tags: latest, 7.0, 5.6, 5.5, 5.4, 5.3\r\n    image: actency/docker-apache-php:5.6\r\n    # actency/docker-nginx-php available tags: latest, 5.6, 5.5, 5.4\r\n    #image: actency/docker-nginx-php:5.6\r\n    ports:\r\n      - \"80:80\"\r\n      - \"9000:9000\"\r\n    environment:\r\n      - SERVERNAME=ut.local\r\n      - SERVERALIAS=auto.ut.local *.ut.local\r\n      - DOCUMENTROOT=htdocs\r\n    volumes:\r\n      - /home/abdou/projects/ultra_box/:/var/www/html/\r\n      - /home/abdou/.ssh/:/var/www/.ssh/\r\n    links:\r\n      - database:mysql\r\n      - mailhog\r\n      - memcache\r\n    tty: true\r\n\r\n  # database container - actency images\r\n  database:\r\n    # actency/docker-mysql available tags: latest, 5.7, 5.6, 5.5\r\n    image: actency/docker-mysql:5.6\r\n    ports:\r\n      - \"3306:3306\"\r\n    environment:\r\n      - MYSQL_ROOT_PASSWORD=root\r\n      - MYSQL_DATABASE=ut\r\n      - MYSQL_USER=root\r\n      - MYSQL_PASSWORD=root\r\n    #volumes:\r\n      #- /my/custom:/etc/mysql/conf.d/\r\n\r\n  # phpmyadmin container - actency images\r\n  phpmyadmin:\r\n    image: actency/docker-phpmyadmin\r\n    ports:\r\n      - \"8010:80\"\r\n    environment:\r\n      - MYSQL_ROOT_PASSWORD=root\r\n      - UPLOAD_SIZE=1G\r\n    links:\r\n      - database:mysql\r\n\r\n  # mailhog container - official images\r\n  mailhog:\r\n    image: mailhog/mailhog\r\n    ports:\r\n      - \"1025:1025\"\r\n      - \"8025:8025\"\r\n\r\n  # memcache container - official images\r\n  memcache:\r\n    image: memcached\r\n    ports:\r\n      - \"11211:11211\"\r\n    command: memcached -m 64\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Actency/docker-apache-php/issues/comments/220031191","html_url":"https://github.com/Actency/docker-apache-php/issues/2#issuecomment-220031191","issue_url":"https://api.github.com/repos/Actency/docker-apache-php/issues/2","id":220031191,"user":{"login":"TehesFR","id":5724684,"avatar_url":"https://avatars.githubusercontent.com/u/5724684?v=3","gravatar_id":"","url":"https://api.github.com/users/TehesFR","html_url":"https://github.com/TehesFR","followers_url":"https://api.github.com/users/TehesFR/followers","following_url":"https://api.github.com/users/TehesFR/following{/other_user}","gists_url":"https://api.github.com/users/TehesFR/gists{/gist_id}","starred_url":"https://api.github.com/users/TehesFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TehesFR/subscriptions","organizations_url":"https://api.github.com/users/TehesFR/orgs","repos_url":"https://api.github.com/users/TehesFR/repos","events_url":"https://api.github.com/users/TehesFR/events{/privacy}","received_events_url":"https://api.github.com/users/TehesFR/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T13:48:37Z","updated_at":"2016-05-18T13:48:37Z","body":"@Winde4th on est d'accord que xdebug fonctionne très bien chez toi avec PHP 5.6 ?\r\n\r\nMerci"}}