1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-22 05:09:36 +02:00
dockerfiles/superset/docker-compose.yml

50 lines
1018 B
YAML
Raw Normal View History

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