mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
46 lines
922 B
YAML
46 lines
922 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
|
|
redis:
|
|
image: redis:5-alpine
|
|
command: --save 900 1
|
|
volumes:
|
|
- ./data/redis:/data
|
|
restart: unless-stopped
|
|
|
|
postgres:
|
|
image: postgres:12-alpine
|
|
volumes:
|
|
- ./data/postgres:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: superset
|
|
POSTGRES_PASSWORD: superset
|
|
POSTGRES_USER: superset
|
|
restart: unless-stopped
|
|
|
|
superset:
|
|
image: amancevice/superset:0.37.0
|
|
ports:
|
|
- "8088:8088"
|
|
volumes:
|
|
- ./data/superset:/etc/superset
|
|
environment:
|
|
MAPBOX_API_KEY: ${MAPBOX_API_KEY}
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
restart: unless-stopped
|
|
|
|
worker:
|
|
image: amancevice/superset:0.37.0
|
|
command: celery worker
|
|
volumes:
|
|
- ./data/superset:/etc/superset
|
|
environment:
|
|
MAPBOX_API_KEY: ${MAPBOX_API_KEY}
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
restart: unless-stopped
|