2022-01-25 12:41:38 +02:00
|
|
|
#
|
|
|
|
# https://github.com/amancevice/docker-superset/blob/main/examples/celery/docker-compose.yml
|
|
|
|
#
|
|
|
|
|
2020-04-20 06:27:35 +02:00
|
|
|
version: '3.8'
|
2019-01-09 05:11:28 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
redis:
|
2022-01-25 12:41:38 +02:00
|
|
|
image: redis:6-alpine
|
2019-09-23 09:50:52 +02:00
|
|
|
command: --save 900 1
|
2019-01-09 05:11:28 +02:00
|
|
|
volumes:
|
|
|
|
- ./data/redis:/data
|
2020-04-20 06:27:35 +02:00
|
|
|
restart: unless-stopped
|
2019-01-09 05:11:28 +02:00
|
|
|
|
|
|
|
postgres:
|
2022-01-25 12:41:38 +02:00
|
|
|
image: postgres:14-alpine
|
2019-01-09 05:11:28 +02:00
|
|
|
volumes:
|
|
|
|
- ./data/postgres:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: superset
|
|
|
|
POSTGRES_PASSWORD: superset
|
|
|
|
POSTGRES_USER: superset
|
2020-04-20 06:27:35 +02:00
|
|
|
restart: unless-stopped
|
2019-01-09 05:11:28 +02:00
|
|
|
|
|
|
|
superset:
|
2022-01-25 12:41:38 +02:00
|
|
|
image: amancevice/superset:1.4.0
|
2019-01-09 05:11:28 +02:00
|
|
|
ports:
|
|
|
|
- "8088:8088"
|
|
|
|
volumes:
|
|
|
|
- ./data/superset:/etc/superset
|
|
|
|
environment:
|
|
|
|
MAPBOX_API_KEY: ${MAPBOX_API_KEY}
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- redis
|
2020-04-20 06:27:35 +02:00
|
|
|
restart: unless-stopped
|
2019-01-09 05:11:28 +02:00
|
|
|
|
|
|
|
worker:
|
2022-01-25 12:41:38 +02:00
|
|
|
image: amancevice/superset:1.4.0
|
2019-01-09 05:11:28 +02:00
|
|
|
command: celery worker
|
|
|
|
volumes:
|
|
|
|
- ./data/superset:/etc/superset
|
|
|
|
environment:
|
|
|
|
MAPBOX_API_KEY: ${MAPBOX_API_KEY}
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- redis
|
2020-04-20 06:27:35 +02:00
|
|
|
restart: unless-stopped
|