mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update
This commit is contained in:
parent
392b574128
commit
a4ccd37861
@ -40,4 +40,12 @@ $ docker-compose exec --user root jenkins apk add -U git
|
||||
$ firefox http://localhost:8080/
|
||||
```
|
||||
|
||||
## fix slow network
|
||||
|
||||
```
|
||||
$ vim data/war/jsbundles/pluginSetupWizard.js
|
||||
// default 10 seconds for AJAX responses to return before triggering an error condition
|
||||
var pluginManagerErrorTimeoutMillis = 10 * 1000;
|
||||
```
|
||||
|
||||
[1]: https://jenkins.io/index.html
|
||||
|
@ -53,6 +53,7 @@ RUN set -xe \
|
||||
mysqlclient \
|
||||
psycopg2-binary \
|
||||
pyhive[hive,presto] \
|
||||
redis \
|
||||
&& apt-get remove -y \
|
||||
build-essential \
|
||||
freetds-dev \
|
||||
@ -64,7 +65,7 @@ RUN set -xe \
|
||||
libssl-dev \
|
||||
python3-dev \
|
||||
&& apt-get clean \
|
||||
&& rm -r requirements.txt requirements-db.txt /var/lib/apt/lists/*
|
||||
&& rm -r /var/lib/apt/lists/*
|
||||
|
||||
# Configure Filesystem
|
||||
COPY superset /usr/local/bin
|
||||
|
3
superset/arm/data/superset_config.py
Normal file
3
superset/arm/data/superset_config.py
Normal file
@ -0,0 +1,3 @@
|
||||
LOG_LEVEL = 'WARN'
|
||||
ENABLE_PROXY_FIX = True
|
||||
SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h'
|
@ -4,4 +4,5 @@ superset:
|
||||
- "8088:8088"
|
||||
volumes:
|
||||
- ./data:/var/lib/superset
|
||||
- ./data/superset_config.py:/etc/superset/superset_config.py:ro
|
||||
restart: always
|
||||
|
@ -3,7 +3,7 @@
|
||||
set -e
|
||||
|
||||
# Create an admin user
|
||||
fabmanager create-admin --app superset $@
|
||||
FLASK_APP=superset flask fab create-admin
|
||||
|
||||
# Initialize the database
|
||||
superset db upgrade
|
||||
|
@ -1,4 +1,3 @@
|
||||
PYTHONPATH=/home/superset/superset
|
||||
SUPERSET_HOME=/home/superset/superset
|
||||
FLASK_APP=superset
|
||||
GUNICORN_CMD_ARGS="--workers=4 --timeout=60 --bind=0.0.0.0:8088 --limit-request-line=0 --limit-request-field_size=0"
|
||||
|
Loading…
Reference in New Issue
Block a user