1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/superset/docker-compose.yml

46 lines
922 B
YAML
Raw Normal View History

2020-04-20 06:27:35 +02:00
version: '3.8'
2019-01-09 05:11:28 +02:00
services:
redis:
2019-09-23 09:50:52 +02:00
image: redis:5-alpine
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:
2020-04-20 06:27:35 +02:00
image: postgres:12-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:
2020-09-15 07:00:51 +02:00
image: amancevice/superset:0.37.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:
2020-09-15 07:00:51 +02:00
image: amancevice/superset:0.37.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