mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00: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/
|
$ 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
|
[1]: https://jenkins.io/index.html
|
||||||
|
@ -53,6 +53,7 @@ RUN set -xe \
|
|||||||
mysqlclient \
|
mysqlclient \
|
||||||
psycopg2-binary \
|
psycopg2-binary \
|
||||||
pyhive[hive,presto] \
|
pyhive[hive,presto] \
|
||||||
|
redis \
|
||||||
&& apt-get remove -y \
|
&& apt-get remove -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
freetds-dev \
|
freetds-dev \
|
||||||
@ -64,7 +65,7 @@ RUN set -xe \
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -r requirements.txt requirements-db.txt /var/lib/apt/lists/*
|
&& rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Configure Filesystem
|
# Configure Filesystem
|
||||||
COPY superset /usr/local/bin
|
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"
|
- "8088:8088"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/superset
|
- ./data:/var/lib/superset
|
||||||
|
- ./data/superset_config.py:/etc/superset/superset_config.py:ro
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Create an admin user
|
# Create an admin user
|
||||||
fabmanager create-admin --app superset $@
|
FLASK_APP=superset flask fab create-admin
|
||||||
|
|
||||||
# Initialize the database
|
# Initialize the database
|
||||||
superset db upgrade
|
superset db upgrade
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
PYTHONPATH=/home/superset/superset
|
PYTHONPATH=/home/superset/superset
|
||||||
SUPERSET_HOME=/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"
|
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