1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

update superset

This commit is contained in:
kev 2020-04-20 12:27:35 +08:00
parent ea498c083c
commit a6b7d729aa
3 changed files with 13 additions and 9 deletions

@ -22,3 +22,7 @@ Repeat for confirmation: ******
$ curl http://localhost:8088 $ curl http://localhost:8088
``` ```
## Upgrading Guide
- <https://superset.apache.org/installation.html#upgrading>

@ -6,7 +6,7 @@ FROM arm32v7/debian:buster
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
# Configure environment # Configure environment
ENV SUPERSET_VERSION=0.34.1 \ ENV SUPERSET_VERSION=0.36.0 \
SUPERSET_REPO=apache/incubator-superset \ SUPERSET_REPO=apache/incubator-superset \
SUPERSET_HOME=/var/lib/superset \ SUPERSET_HOME=/var/lib/superset \
PYTHONPATH=/etc/superset:/home/superset:$PYTHONPATH PYTHONPATH=/etc/superset:/home/superset:$PYTHONPATH

@ -1,4 +1,4 @@
version: '3.7' version: '3.8'
services: services:
@ -7,20 +7,20 @@ services:
command: --save 900 1 command: --save 900 1
volumes: volumes:
- ./data/redis:/data - ./data/redis:/data
restart: always restart: unless-stopped
postgres: postgres:
image: postgres:11-alpine image: postgres:12-alpine
volumes: volumes:
- ./data/postgres:/var/lib/postgresql/data - ./data/postgres:/var/lib/postgresql/data
environment: environment:
POSTGRES_DB: superset POSTGRES_DB: superset
POSTGRES_PASSWORD: superset POSTGRES_PASSWORD: superset
POSTGRES_USER: superset POSTGRES_USER: superset
restart: always restart: unless-stopped
superset: superset:
image: amancevice/superset:0.34.1 image: amancevice/superset:0.36.0
ports: ports:
- "8088:8088" - "8088:8088"
volumes: volumes:
@ -30,10 +30,10 @@ services:
depends_on: depends_on:
- postgres - postgres
- redis - redis
restart: always restart: unless-stopped
worker: worker:
image: amancevice/superset:0.34.1 image: amancevice/superset:0.36.0
command: celery worker command: celery worker
volumes: volumes:
- ./data/superset:/etc/superset - ./data/superset:/etc/superset
@ -42,4 +42,4 @@ services:
depends_on: depends_on:
- postgres - postgres
- redis - redis
restart: always restart: unless-stopped