{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/2634","labels_url":"https://api.github.com/repos/rancher/rancher/issues/2634/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/2634/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/2634/events","html_url":"https://github.com/rancher/rancher/issues/2634","id":116319632,"number":2634,"title":"rancher-compose fails were as docker-compose succeeds","user":{"login":"fentas","id":405182,"avatar_url":"https://avatars.githubusercontent.com/u/405182?v=3","gravatar_id":"","url":"https://api.github.com/users/fentas","html_url":"https://github.com/fentas","followers_url":"https://api.github.com/users/fentas/followers","following_url":"https://api.github.com/users/fentas/following{/other_user}","gists_url":"https://api.github.com/users/fentas/gists{/gist_id}","starred_url":"https://api.github.com/users/fentas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fentas/subscriptions","organizations_url":"https://api.github.com/users/fentas/orgs","repos_url":"https://api.github.com/users/fentas/repos","events_url":"https://api.github.com/users/fentas/events{/privacy}","received_events_url":"https://api.github.com/users/fentas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-11T11:55:25Z","updated_at":"2015-11-11T18:37:39Z","closed_at":null,"body":"Hey there,\r\nIt seems I found a docker-file which is not working under rancher-compose but with docker-compose.. (?)\r\nHere my `docker-compose.yml` for rancher-compose\r\n```yml\r\nimages:\r\n  image: apsl/thumbor\r\n  stdin_open: true\r\n  tty: true\r\n  restart: always\r\n  environment:\r\n    MAX_AGE: 86400\r\n    MIN_WIDTH: 100\r\n    MIN_HEIGHT: 100\r\n    ALLOW_ANIMATED_GIFS: True\r\n    AUTO_WEBP: True\r\n    SECURITY_KEY: \"LKJSAKDnmkwle2wewkl242NKnjs230kljknm\"\r\n    ALLOW_UNSAFE_URL: False\r\n    ALLOW_OLD_URLS: False\r\n    STORAGE_EXPIRATION_SECONDS: 7776000 #90 days\r\n    FILE_STORAGE_ROOT_PATH: '/data/storage'\r\n    RESULT_STORAGE_EXPIRATION_SECONDS: 2592000 #30 days\r\n    UPLOAD_MAX_SIZE: 10240 # 10MB\r\n    UPLOAD_ENABLED: True\r\n    UPLOAD_PUT_ALLOWED: True\r\n  volumes:\r\n    - /images/:/data/storage/:rw\r\n  labels:\r\n    io.rancher.scheduler.affinity:host_label:  \"host=blablub\"\r\n  health_check:\r\n    port: 80\r\n    request_line: GET / HTTP/1.0\r\n    interval: 2000\r\n    healthy_threshold: 2\r\n    unhealthy_threshold: 3\r\n    response_timeout: 2000\r\n```\r\n\r\nIt fails with\r\n```log\r\n11/11/2015 2:46:42 AMTraceback (most recent call last):\r\n11/11/2015 2:46:42 AM  File \"/usr/local/bin/thumbor\", line 9, in <module>\r\n11/11/2015 2:46:42 AM    load_entry_point('thumbor==5.2.1', 'console_scripts', 'thumbor')()\r\n11/11/2015 2:46:42 AM  File \"/usr/local/lib/python2.7/site-packages/thumbor/server.py\", line 46, in main\r\n11/11/2015 2:46:42 AM    config = Config.load(server_parameters.config_path, conf_name='thumbor.conf', lookup_paths=lookup_paths)\r\n11/11/2015 2:46:42 AM  File \"/usr/local/lib/python2.7/site-packages/derpconf/config.py\", line 75, in load\r\n11/11/2015 2:46:42 AM    return cls.__load_from_path(conf, path)\r\n11/11/2015 2:46:42 AM  File \"/usr/local/lib/python2.7/site-packages/derpconf/config.py\", line 84, in __load_from_path\r\n11/11/2015 2:46:42 AM    six.exec_(code, module.__dict__)\r\n11/11/2015 2:46:42 AM  File \"/usr/local/lib/python2.7/site-packages/six.py\", line 699, in exec_\r\n11/11/2015 2:46:42 AM    exec(\"\"\"exec _code_ in _globs_, _locs_\"\"\")\r\n11/11/2015 2:46:42 AM  File \"<string>\", line 1, in <module>\r\n11/11/2015 2:46:42 AM  File \"<string>\", line 50, in <module>\r\n11/11/2015 2:46:42 AMNameError: name 'true' is not defined\r\n```\r\n\r\nIf I execute this with `docker-compose` (without *health_check*) on the same host, there are no error logs at all.\r\nAlso confirmed with docker-file creator https://github.com/APSL/docker-thumbor/issues/3 "},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/155870817","html_url":"https://github.com/rancher/rancher/issues/2634#issuecomment-155870817","issue_url":"https://api.github.com/repos/rancher/rancher/issues/2634","id":155870817,"user":{"login":"fentas","id":405182,"avatar_url":"https://avatars.githubusercontent.com/u/405182?v=3","gravatar_id":"","url":"https://api.github.com/users/fentas","html_url":"https://github.com/fentas","followers_url":"https://api.github.com/users/fentas/followers","following_url":"https://api.github.com/users/fentas/following{/other_user}","gists_url":"https://api.github.com/users/fentas/gists{/gist_id}","starred_url":"https://api.github.com/users/fentas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fentas/subscriptions","organizations_url":"https://api.github.com/users/fentas/orgs","repos_url":"https://api.github.com/users/fentas/repos","events_url":"https://api.github.com/users/fentas/events{/privacy}","received_events_url":"https://api.github.com/users/fentas/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T18:37:39Z","updated_at":"2015-11-11T18:37:39Z","body":"Yes Sir. This is a valid solution. :+1: \r\nBut is this wanted behavior?\r\n"}}