docker-superset
docker-superset copied to clipboard
edge container not working
Trying to start sqlite example from the edge tag. It fails with the following error This is my compose file
version: '3'
services:
redis:
image: redis
restart: always
volumes:
- redis:/data
superset:
image: amancevice/superset:edge
restart: always
depends_on:
- redis
environment:
MAPBOX_API_KEY: ${MAPBOX_API_KEY}
SUPERSET_HOME: /etc/superset
ports:
- "8088:8088"
volumes:
- ./superset_config.py:/etc/superset/superset_config.py
- superset:/var/lib/superset
volumes:
redis:
superset:
~/r/d/e/sqlite> docker-compose logs -f superset
Attaching to sqlite_superset_1
superset_1 | [2020-03-12 11:05:15 +0000] [1] [INFO] Starting gunicorn 20.0.4
superset_1 | [2020-03-12 11:05:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:8088 (1)
superset_1 | [2020-03-12 11:05:15 +0000] [1] [INFO] Using worker: threads
superset_1 | [2020-03-12 11:05:15 +0000] [8] [INFO] Booting worker with pid: 8
superset_1 | [2020-03-12 11:05:15 +0000] [9] [INFO] Booting worker with pid: 9
superset_1 | [2020-03-12 11:05:15 +0000] [10] [INFO] Booting worker with pid: 10
superset_1 | /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
superset_1 | """)
superset_1 | [2020-03-12 11:05:36 +0000] [10] [ERROR] Error handling request /
superset_1 | Traceback (most recent call last):
superset_1 | File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/gthread.py", line 271, in handle
superset_1 | keepalive = self.handle_request(req, conn)
superset_1 | File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/gthread.py", line 320, in handle_request
superset_1 | respiter = self.wsgi(environ, resp.start_response)
superset_1 | File "/usr/local/lib/python3.6/site-packages/werkzeug/local.py", line 376, in <lambda>
superset_1 | __call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw)
superset_1 | File "/usr/local/lib/python3.6/site-packages/werkzeug/local.py", line 307, in _get_current_object
superset_1 | return self.__local()
superset_1 | File "/usr/local/lib/python3.6/site-packages/flask/globals.py", line 52, in _find_app
superset_1 | raise RuntimeError(_app_ctx_err_msg)
superset_1 | RuntimeError: Working outside of application context.
I am getting this error with using edge: Loaded your LOCAL configuration at [/home/superset/superset_config.py]
Error: class uri 'gevent' invalid or not found:
[Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/gunicorn/util.py", line 99, in load_class
mod = importlib.import_module('.'.join(components))
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "