{"action":"created","issue":{"url":"https://api.github.com/repos/rtnpro/henge/issues/4","repository_url":"https://api.github.com/repos/rtnpro/henge","labels_url":"https://api.github.com/repos/rtnpro/henge/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rtnpro/henge/issues/4/comments","events_url":"https://api.github.com/repos/rtnpro/henge/issues/4/events","html_url":"https://github.com/rtnpro/henge/issues/4","id":157022631,"number":4,"title":"candidate for interactive mode?","user":{"login":"kadel","id":57206,"avatar_url":"https://avatars.githubusercontent.com/u/57206?v=3","gravatar_id":"","url":"https://api.github.com/users/kadel","html_url":"https://github.com/kadel","followers_url":"https://api.github.com/users/kadel/followers","following_url":"https://api.github.com/users/kadel/following{/other_user}","gists_url":"https://api.github.com/users/kadel/gists{/gist_id}","starred_url":"https://api.github.com/users/kadel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadel/subscriptions","organizations_url":"https://api.github.com/users/kadel/orgs","repos_url":"https://api.github.com/users/kadel/repos","events_url":"https://api.github.com/users/kadel/events{/privacy}","received_events_url":"https://api.github.com/users/kadel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-26T16:17:06Z","updated_at":"2016-05-27T11:43:29Z","closed_at":null,"body":"Here is example of docker-compose file that is working with docker-compose but it hard get it automatically working on OpenShift/Kubernetes without user input.\r\n\r\n```yaml\r\nversion: '2'\r\nservices:\r\n  db:\r\n    image: mysql:5.7\r\n    volumes:\r\n      - \"./.data/db:/var/lib/mysql\"\r\n    restart: always\r\n    environment:\r\n      MYSQL_ROOT_PASSWORD: wordpress\r\n      MYSQL_DATABASE: wordpress\r\n      MYSQL_USER: wordpress\r\n      MYSQL_PASSWORD: wordpress\r\n\r\n  wordpress:\r\n    depends_on:\r\n      - db\r\n    image: wordpress:latest\r\n    links:\r\n      - db\r\n    ports:\r\n      - \"8000:80\"\r\n    restart: always\r\n    environment:\r\n      WORDPRESS_DB_HOST: db:3306\r\n      WORDPRESS_DB_PASSWORD: wordpress\r\n```\r\n\r\nProblem  is that this docker-compose is not saying anything about port for mysq.\r\nDocker-compose doesn't have to do anything for ports that are used just between containers. \r\nBecause both containers are attached to the same Docker Network, they can access any ports between them, and they can use container aliases as hostnames.\r\n\r\nAfaik  we can't do anything similar on OpenShift :-(\r\nSolution would be to create service for db for port 3306, but we don't know that this should be on port 3306.\r\n\r\nSo we cat ask user to provide that information during conversion.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rtnpro/henge/issues/comments/222126120","html_url":"https://github.com/rtnpro/henge/issues/4#issuecomment-222126120","issue_url":"https://api.github.com/repos/rtnpro/henge/issues/4","id":222126120,"user":{"login":"surajssd","id":5815795,"avatar_url":"https://avatars.githubusercontent.com/u/5815795?v=3","gravatar_id":"","url":"https://api.github.com/users/surajssd","html_url":"https://github.com/surajssd","followers_url":"https://api.github.com/users/surajssd/followers","following_url":"https://api.github.com/users/surajssd/following{/other_user}","gists_url":"https://api.github.com/users/surajssd/gists{/gist_id}","starred_url":"https://api.github.com/users/surajssd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surajssd/subscriptions","organizations_url":"https://api.github.com/users/surajssd/orgs","repos_url":"https://api.github.com/users/surajssd/repos","events_url":"https://api.github.com/users/surajssd/events{/privacy}","received_events_url":"https://api.github.com/users/surajssd/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T11:43:29Z","updated_at":"2016-05-27T11:43:29Z","body":"FYI this kind of error was reported in https://github.com/openshift/origin/issues/8943"}}
{"actor":{"display_login":"surajssd"}}