-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (51 loc) · 1.4 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: '3.0'
services:
jupyter:
build: ./jupyter
ports:
- "8888:8888"
environment:
- JUPYTER_LAB_ENABLE='yes'
- DATABASE_URL
volumes:
- ./data:/home/jovyan/work
commuter:
build: ./commuter
ports:
- "4000:4000"
environment:
- NODE_ENV=production
- HOST=0.0.0.0
# - VIRTUAL_HOST=commuter.somedomain.com
# - VIRTUAL_PORT=4000
#- LETSENCRYPT_HOST=commuter.somedomain.com
#- LETSENCRYPT_EMAIL=youremail@somedomain.com
- COMMUTER_STORAGE_BACKEND=local
#- COMMUTER_DISCOVERY_BACKEND=elasticsearch
#- COMMUTER_ES_HOST=elasticsearch:9200
- COMMUTER_PORT=4000
- COMMUTER_LOCAL_STORAGE_BASEDIRECTORY=/app/data
# - COMMUTER_S3_BASE_PREFIX
# - COMMUTER_S3_PATH_DELIMITER
# - COMMUTER_BUCKET
# - COMMUTER_S3_KEY
# - COMMUTER_S3_SECRET
volumes:
- ./data:/app/data
airflow-web:
build: ./airflow
ports:
- "8080:8080"
volumes:
- ./data:/app/airflow
command: bash -c "airflow initdb && airflow webserver -p 8080"
airflow-scheduler:
build: ./airflow
volumes:
- ./data:/app/airflow
command: dockerize -wait tcp://airflow-web:8080 -timeout 60s airflow scheduler
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_TAG:-6.5.1}
environment:
- ES_JAVA_OPTS=${ES_RAM:--Xmx4g -Xms4g}
ports: ['9200:9200']