-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample_docker-compose.yml
41 lines (37 loc) · 972 Bytes
/
sample_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
version: "x"
# below serve as few components setup example to establish this project
services:
zookeeper:
image: 'dummy/zookeeper:latest'
ports:
- 'xx:xx' # change to your prefer port
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
networks:
- document-streaming
spark:
image: 'dummy/pyspark-notebook:latest'
ports:
- 'xx:xx'
- "xx-xx:xx-xx"
volumes:
- ./path/:/path/ # Change to fill_your_volume_path_here
networks:
- document-streaming
mongo:
container_name: mongo-dev
image: 'dummy/mongo:latest'
volumes:
- ./path/:/path/ # Change to fill_your_volume_path_here
restart: on-failure
ports:
- "xx:xx"
environment:
MONGO_INITDB_ROOT_USERNAME: fill_your_username_here
MONGO_INITDB_ROOT_PASSWORD: fill_your_password_here
MONGO_INITDB_DATABASE: auth
networks:
- document-streaming
networks:
document-streaming:
driver: bridge