-
Notifications
You must be signed in to change notification settings - Fork 44
/
docker-compose.yml
62 lines (60 loc) · 1.38 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
53
54
55
56
57
58
59
60
61
62
services:
notebooks:
build:
context: .
dockerfile: build/Dockerfile
container_name: aips-notebooks
ports:
- 7077:7077 # Spark Master
- 8082:8080 # Spark Master UI - 8082 less likely to conflict
- 8081:8081 # Spark Worker UI
- 4041:4041 # Spark UI
- 8888:8888 # Jupyter Notebook UI
- 2345:2345 # Search Webserver
depends_on:
- solr
networks:
- solr-network
restart: unless-stopped
environment:
#PYSPARK_SUBMIT_ARGS: '--jars /usr/local/spark/lib/spark-solr-4.0.0-shaded.jar pyspark-shell'
#NB_USER: 'aips'
#NB_UID: 1010
#NB_GID: 1020
#CHOWN_HOME: 'yes'
#CHOWN_HOME_OPTS: -R
SOLR_HOST: 'aips-solr'
volumes:
- type: bind
source: "."
target: "/tmp/notebooks/"
solr:
build:
context: ./engines/solr/build/
dockerfile: Dockerfile
container_name: aips-solr
hostname: aips-solr
ports:
- 8983:8983
environment:
- ZK_HOST=aips-zk:2181
- SOLR_HOST=aips-solr
networks:
- zk-solr
- solr-network
restart: unless-stopped
depends_on:
- zookeeper
zookeeper:
image: zookeeper:3.5.8
container_name: aips-zk
hostname: aips-zk
ports:
- 2181:2128
networks:
- zk-solr
- solr-network
restart: unless-stopped
networks:
zk-solr:
solr-network: