-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmaster.yaml
99 lines (86 loc) · 1.66 KB
/
master.yaml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
flask:
build: ./flask
ports:
- "80:80"
vue:
build: ./vue
restart: on-failure
ports:
- "8080:8080"
volumes:
- './vue/node_modules:/app/node_modules'
angular:
build:
context: ./angular
volumes:
- '.:/app'
- '/app/node_modules'
ports:
- '4200:4200'
react:
build:
context: ./react
volumes:
- './react:/app'
- '/app/node_modules'
ports:
- '3000:3000'
stdin_open: true
mysql:
image: mysql:5.7
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ./volumes/mysql:/docker-entrypoint-initdb.d/:ro
mongodb:
image: 'mongo'
container_name: 'mongo-container'
environment:
- MONGO_INITDB_DATABASE='stackbox'
volumes:
- ./volumes/mongo/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
- ./mongo-volume:/data/db
ports:
- '27017:27017'
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.0.0
environment:
- discovery.type=single-node
ports:
- "9200:9200"
nginx:
image: nginx:1.15-alpine
ports:
- "81:80"
volumes:
#- ./volumes/nginx/conf:/etc/nginx/conf.d
- ./volumes/nginx/src:/usr/share/nginx/html
kibana:
image: docker.elastic.co/kibana/kibana:7.0.0
ports:
- "5601:5601"
kafka:
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
image: wurstmeister/kafka
ports:
- "32770:9092"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2182:2181"
rubyonrails:
build: ./rubyonrails
ports:
- "80:3000"
volumes:
- "./rubyonrails:/app"
- '/app/node_modules'
golang:
build: ./golang
ports:
- "3001:8080"