-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
docker-compose.yml
52 lines (51 loc) · 1.32 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# VERSION 1.0 (apache-superset)
# AUTHOR: Abhishek Sharma<[email protected]>
# DESCRIPTION: apache superset docker-compose.yml
# Modified/revamped version of the https://github.com/apache/incubator-superset/blob/master/contrib/docker/docker-compose.yml
version: '3'
services:
redis:
image: redis:3.2
restart: always
ports:
- 6379:6379
volumes:
- redis:/data
mysql:
image: mysql:5.7
restart: always
environment:
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
ports:
- 3306:3306
volumes:
- mysql:/var/lib/mysql
superset:
image: abhioncbr/docker-superset:${SUPERSET_VERSION}
restart: always
environment:
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASS: ${MYSQL_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_HOST: ${MYSQL_HOST}
MYSQL_PORT: ${MYSQL_PORT}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: ${REDIS_PORT}
SUPERSET_ENV: ${SUPERSET_ENV}
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS}
ports:
- 8088:8088
- 5555:5555
depends_on:
- mysql
- redis
volumes:
- ../config/:/home/superset/config/
volumes:
mysql:
external: false
redis:
external: false