1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

update superset

This commit is contained in:
kev 2022-01-25 18:41:38 +08:00
parent b139877046
commit 5013df728e

View File

@ -1,16 +1,20 @@
#
# https://github.com/amancevice/docker-superset/blob/main/examples/celery/docker-compose.yml
#
version: '3.8' version: '3.8'
services: services:
redis: redis:
image: redis:5-alpine image: redis:6-alpine
command: --save 900 1 command: --save 900 1
volumes: volumes:
- ./data/redis:/data - ./data/redis:/data
restart: unless-stopped restart: unless-stopped
postgres: postgres:
image: postgres:12-alpine image: postgres:14-alpine
volumes: volumes:
- ./data/postgres:/var/lib/postgresql/data - ./data/postgres:/var/lib/postgresql/data
environment: environment:
@ -20,7 +24,7 @@ services:
restart: unless-stopped restart: unless-stopped
superset: superset:
image: amancevice/superset:1.1.0 image: amancevice/superset:1.4.0
ports: ports:
- "8088:8088" - "8088:8088"
volumes: volumes:
@ -33,7 +37,7 @@ services:
restart: unless-stopped restart: unless-stopped
worker: worker:
image: amancevice/superset:1.1.0 image: amancevice/superset:1.4.0
command: celery worker command: celery worker
volumes: volumes:
- ./data/superset:/etc/superset - ./data/superset:/etc/superset