{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab-ci/issues/38","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab-ci/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab-ci/issues/38/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab-ci/issues/38/events","html_url":"https://github.com/sameersbn/docker-gitlab-ci/issues/38","id":92116291,"number":38,"title":"Issue starting with docker-compose","user":{"login":"WillSkates","id":136816,"avatar_url":"https://avatars.githubusercontent.com/u/136816?v=3","gravatar_id":"","url":"https://api.github.com/users/WillSkates","html_url":"https://github.com/WillSkates","followers_url":"https://api.github.com/users/WillSkates/followers","following_url":"https://api.github.com/users/WillSkates/following{/other_user}","gists_url":"https://api.github.com/users/WillSkates/gists{/gist_id}","starred_url":"https://api.github.com/users/WillSkates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillSkates/subscriptions","organizations_url":"https://api.github.com/users/WillSkates/orgs","repos_url":"https://api.github.com/users/WillSkates/repos","events_url":"https://api.github.com/users/WillSkates/events{/privacy}","received_events_url":"https://api.github.com/users/WillSkates/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-30T14:55:49Z","updated_at":"2015-06-30T17:45:00Z","closed_at":null,"body":"I attempted to start the service using the docker-compose.yml file in the repo. I can't get an instance up and running. Each time I try to curl to localhost:10081 I get 'Connection reset by peer'.\r\n\r\nAfter using\r\ndocker-compose run ci /bin/bash\r\nand typing\r\nwget localhost\r\nor\r\nwget 127.0.0.1\r\n\r\nI get\r\n--2015-06-30 15:52:54--  http://localhost/\r\nResolving localhost (localhost)... ::1, 127.0.0.1\r\nConnecting to localhost (localhost)|::1|:80... failed: Connection refused.\r\nConnecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.\r\n\r\nAttempting to run /sbin/entrypoint.sh from within the container also gives me:\r\nsed: -e expression #1, char 26: unknown option to `s'\r\n\r\nI have modified my docker-compose.yml slightly and tried again. Here's a copy\r\n\r\npostgresql:\r\n  image: sameersbn/postgresql:9.4\r\n  environment:\r\n    - DB_USER=gitlab_ci\r\n    - DB_PASS=password\r\n    - DB_NAME=gitlab_ci_production\r\n  volumes:\r\n    - /srv/docker/gitlab-ci/postgresql:/var/lib/postgresql\r\nredis:\r\n  image: sameersbn/redis:latest\r\n  volumes:\r\n    - /srv/docker/gitlab-ci/redis:/var/lib/redis\r\nci:\r\n  image: sameersbn/gitlab-ci:7.12.0\r\n  links:\r\n    - redis:redisio\r\n    - postgresql:postgresql\r\n  ports:\r\n    - \"10081:80\"\r\n  environment:\r\n    - TZ=Europe/London\r\n    - GITLAB_URL=http://x.x.com\r\n    - GITLAB_APP_ID=x\r\n    - GITLAB_APP_SECRET=x\r\n    - GITLAB_CI_HOST=localhost\r\n    - GITLAB_CI_PORT=10081\r\n    - GITLAB_CI_EMAIL=will@stuffby.ws\r\n    - GITLAB_CI_SUPPORT=will@stuffby.ws\r\n    - GITLAB_CI_NOTIFY_ON_BROKEN_BUILDS=true\r\n    - GITLAB_CI_NOTIFY_PUSHER=false\r\n    - GITLAB_CI_BACKUPS=daily\r\n    - GITLAB_CI_BACKUP_TIME=01:00\r\n    - SMTP_ENABLED=false\r\n    - SMTP_DOMAIN=www.example.com\r\n    - SMTP_HOST=smtp.gmail.com\r\n    - SMTP_PORT=587\r\n    - SMTP_USER=mailer@example.com\r\n    - SMTP_PASS=password\r\n    - SMTP_STARTTLS=true\r\n    - SMTP_AUTHENTICATION=login\r\n  volumes:\r\n    - /srv/docker/gitlab-ci/gitlab-ci:/home/gitlab_ci/data\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab-ci/issues/comments/117277384","html_url":"https://github.com/sameersbn/docker-gitlab-ci/issues/38#issuecomment-117277384","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab-ci/issues/38","id":117277384,"user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars.githubusercontent.com/u/410147?v=3","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T17:45:00Z","updated_at":"2015-06-30T17:45:00Z","body":"@WillSkates I think you are using a very old version of the `sameersbn/postgresql` container which does not support creating user and database using env variables. Please pull a more recent version and retry."}}