{"action":"opened","issue":{"url":"https://api.github.com/repos/SkierPGP/Skier-docker/issues/1","labels_url":"https://api.github.com/repos/SkierPGP/Skier-docker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SkierPGP/Skier-docker/issues/1/comments","events_url":"https://api.github.com/repos/SkierPGP/Skier-docker/issues/1/events","html_url":"https://github.com/SkierPGP/Skier-docker/issues/1","id":116069086,"number":1,"title":"Issues with Docker setup","user":{"login":"victorhora","id":15767386,"avatar_url":"https://avatars.githubusercontent.com/u/15767386?v=3","gravatar_id":"","url":"https://api.github.com/users/victorhora","html_url":"https://github.com/victorhora","followers_url":"https://api.github.com/users/victorhora/followers","following_url":"https://api.github.com/users/victorhora/following{/other_user}","gists_url":"https://api.github.com/users/victorhora/gists{/gist_id}","starred_url":"https://api.github.com/users/victorhora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorhora/subscriptions","organizations_url":"https://api.github.com/users/victorhora/orgs","repos_url":"https://api.github.com/users/victorhora/repos","events_url":"https://api.github.com/users/victorhora/events{/privacy}","received_events_url":"https://api.github.com/users/victorhora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T09:29:55Z","updated_at":"2015-11-10T09:29:55Z","closed_at":null,"body":"Hello,\r\n\r\nI'm having a few problems trying to deploy an instance of Skier following the \"Setup instructions\" here.\r\n\r\nThe skier-base successfully compiled and run all the way to the end, but the skier image build is failing to compile.\r\n\r\nThe first issue is a failure of the \"keybase verify\" step as described on the Dockerfile:\r\n\r\n# Verify sources\r\nRUN keybase dir verify --assert github:sundwarf --assert reddit:octagonclock --assert dns:sundwarf.me /var/skier/pyapp \r\n\r\nI've noticed that the error could be related to the DNS check of keybase (--assert dns:sundwarf.me), so I've edited the file and omitted that to try again. \r\n\r\nThe second issue seems to be related of the proper setup of a PostgreSQL database on the docker instance as suggested by the logs on the end of this post.\r\n\r\nI've considered on trying to fix this myself (or overcoming by \"forcing\" a setup of PostgreSQL database locally), but as I'm pretty new to Dockers and my Python skills are almost none, I thought that you might come up quickly with a fix for this issue or suggest what could be wrong with my setup. :)\r\n\r\nBtw, I'm running Ubuntu 15.10 if that matters...\r\n\r\nThanks in advance!\r\n\r\n-------------- LOGS --------------\r\n\r\nStep 11 : WORKDIR /var/skier/pyapp\r\n ---> Running in 7164015f1942\r\n ---> 84cab3035182\r\nRemoving intermediate container 7164015f1942\r\nStep 12 : RUN /var/skier/pyapp/manager.py db upgrade\r\n ---> Running in bd222da8c857\r\nTraceback (most recent call last):\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/engine/base.py\", line 2074, in _wrap_pool_connect\r\n    return fn()\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 318, in unique_connection\r\n    return _ConnectionFairy._checkout(self)\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 713, in _checkout\r\n    fairy = _ConnectionRecord.checkout(pool)\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 480, in checkout\r\n    rec = pool._do_get()\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 1151, in _do_get\r\n    return self._create_connection()\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 323, in _create_connection\r\n    return _ConnectionRecord(self)\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 449, in __init__\r\n    self.connection = self.__connect()\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/pool.py\", line 607, in __connect\r\n    connection = self.__pool._invoke_creator(self)\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/engine/strategies.py\", line 97, in connect\r\n    return dialect.connect(*cargs, **cparams)\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/sqlalchemy/engine/default.py\", line 385, in connect\r\n    return self.dbapi.connect(*cargs, **cparams)\r\n  File \"/var/skier/venv/lib/python3.4/site-packages/psycopg2/__init__.py\", line 164, in connect\r\n    conn = _connect(dsn, connection_factory=connection_factory, async=async)\r\npsycopg2.OperationalError: could not connect to server: Connection refused\r\n        Is the server running on host \"localhost\" (::1) and accepting\r\n        TCP/IP connections on port 5432?\r\ncould not connect to server: Connection refused\r\n        Is the server running on host \"localhost\" (127.0.0.1) and accepting\r\n        TCP/IP connections on port 5432?\r\n\r\n-------------- LOGS --------------"}}