{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/3989","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/3989/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/3989/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/3989/events","html_url":"https://github.com/eclipse/che/issues/3989","id":204578028,"number":3989,"title":"[Error] Che exited with error 137","user":{"login":"Kizoku-Dev","id":7711201,"avatar_url":"https://avatars.githubusercontent.com/u/7711201?v=3","gravatar_id":"","url":"https://api.github.com/users/Kizoku-Dev","html_url":"https://github.com/Kizoku-Dev","followers_url":"https://api.github.com/users/Kizoku-Dev/followers","following_url":"https://api.github.com/users/Kizoku-Dev/following{/other_user}","gists_url":"https://api.github.com/users/Kizoku-Dev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kizoku-Dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kizoku-Dev/subscriptions","organizations_url":"https://api.github.com/users/Kizoku-Dev/orgs","repos_url":"https://api.github.com/users/Kizoku-Dev/repos","events_url":"https://api.github.com/users/Kizoku-Dev/events{/privacy}","received_events_url":"https://api.github.com/users/Kizoku-Dev/received_events","type":"User","site_admin":false},"labels":[{"id":192367931,"url":"https://api.github.com/repos/eclipse/che/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-02-01T13:01:46Z","updated_at":"2017-02-01T15:25:26Z","closed_at":"2017-02-01T15:21:16Z","body":"Hi,\r\n\r\nI try to deploy eclipse/che + nginx with docker compose and I got a weird situation when running docker-compose up.\r\n(I am not an expert in docker so maybe I am doing wrong with my yml)\r\n\r\n### Reproduction Steps:\r\n**docker-compose.yml**\r\n```yaml\r\nversion: '2'\r\n\r\nservices:\r\n   che:\r\n      container_name: che\r\n      image: eclipse/che:nightly\r\n      command: start\r\n      volumes:\r\n         - /home/che/data/:/data\r\n         - /var/run/docker.sock:/var/run/docker.sock\r\n      environment:\r\n         - CHE_HOST=172.17.0.1\r\n\r\n   nginx:\r\n      container_name: nginx\r\n      image: nginx:1.9\r\n      depends_on:\r\n          - che\r\n      ports:\r\n         - 9001:80\r\n      links:\r\n         - che\r\n      volumes:\r\n         - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro\r\n         - ./nginx/.htpasswd:/etc/nginx/.htpasswd:ro\r\n```\r\n\r\n**nginx.conf**\r\n```conf\r\nworker_processes 1;\r\n\r\nevents { worker_connections 1024; }\r\n\r\nhttp {\r\n   sendfile on;\r\n\r\n   gzip on;\r\n   gzip_http_version 1.0;\r\n   gzip_proxied any;\r\n   gzip_min_length 500;\r\n   gzip_disable MSIE [1-6].\r\n   gzip_types text/plain text/xml text/css\r\n   text/comma-separated-values\r\n   text/javascript\r\n   application/x-javascript\r\n   application/atom+xml;\r\n\r\n   # List of application servers\r\n   upstream app_servers {\r\n      server che:8080 fail_timeout=5s max_fails=10;\r\n   }\r\n\r\n   # Configuration for the server\r\n   server {\r\n\r\n      listen 80; # Running port\r\n\r\n      # Proxying the connections\r\n      location / {\r\n\r\n         auth_basic Restricted;\r\n         auth_basic_user_file /etc/nginx/.htpasswd;\r\n\r\n         proxy_pass http://app_servers;\r\n         proxy_redirect off;\r\n         proxy_set_header Host $host;\r\n         proxy_set_header X-Real_IP $remote_addr;\r\n         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n         proxy_set_header X-Forwarded-Host $server_name;\r\n      }\r\n   }\r\n}\r\n```\r\n\r\nThen run the **docker-compose up** and I got the following output (when can observe the \"exited code 137\" at the end and just before the preflight checks an \"integer expression expected\" error)\r\n![start](https://cloud.githubusercontent.com/assets/7711201/22507619/b087b9b6-e886-11e6-9bae-628902c34422.jpg)\r\n\r\n### OS and version:\r\nDocker 1.13.0\r\neclipse/che:nightly\r\n\r\n### Diagnostics: \r\n**Output of info**\r\n![info](https://cloud.githubusercontent.com/assets/7711201/22507579/71299fc8-e886-11e6-9507-647ec0ced720.jpg)\r\n\r\n<!-- If asked, provide a support bundle with 'docker run <DOCKER_OPTIONS> eclise/che info --bundle' -->\r\n<!-- If asked, provide CLI debugging info by adding '--trace' to your commands -->\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/276686391","html_url":"https://github.com/eclipse/che/issues/3989#issuecomment-276686391","issue_url":"https://api.github.com/repos/eclipse/che/issues/3989","id":276686391,"user":{"login":"Kizoku-Dev","id":7711201,"avatar_url":"https://avatars.githubusercontent.com/u/7711201?v=3","gravatar_id":"","url":"https://api.github.com/users/Kizoku-Dev","html_url":"https://github.com/Kizoku-Dev","followers_url":"https://api.github.com/users/Kizoku-Dev/followers","following_url":"https://api.github.com/users/Kizoku-Dev/following{/other_user}","gists_url":"https://api.github.com/users/Kizoku-Dev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kizoku-Dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kizoku-Dev/subscriptions","organizations_url":"https://api.github.com/users/Kizoku-Dev/orgs","repos_url":"https://api.github.com/users/Kizoku-Dev/repos","events_url":"https://api.github.com/users/Kizoku-Dev/events{/privacy}","received_events_url":"https://api.github.com/users/Kizoku-Dev/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T15:25:26Z","updated_at":"2017-02-01T15:25:26Z","body":"I already searched on your archives but nothing relevant.\r\nIf I make it works, I'll publish it !"}}
{"actor":{"display_login":"Kizoku-Dev"}}