This repository has been archived by the owner on Oct 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.development.yml
115 lines (100 loc) · 2.22 KB
/
docker-compose.development.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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: '3.2'
services:
postgres:
image: postgres:9.5.6
expose:
- "5432"
redis:
image: redis
expose:
- "6379"
nginx:
build: ./develop/yacs-nginx
ports:
- "80:80"
- "443:443"
links:
- core
core:
build: ./develop/yacs
environment:
- COURSE_TOPIC_NAME=course_change
- SECTION_TOPIC_NAME=section_change
- RAILS_ENV=development
- SECRET_KEY_BASE=6ae504547712ae4faf35b9d6186322cf
- SECRET_TOKEN=cc621dab5bb79f81057a7d17c8ceea42
- WEB_CONCURRENCY=1
- MAX_THREADS=2
ports:
- "4100:4100"
volumes:
- ./develop/yacs:/usr/src/app
core-consumer:
build: ./develop/yacs
environment:
- RAILS_ENV=development
volumes:
- ./develop/yacs:/usr/src/app
notifications:
build: ./develop/yacs-notifications
ports:
- "3000:3000"
volumes:
- ./develop/yacs-notifications:/usr/src/app
notices:
build: ./develop/yacs-notice-service
ports:
- "4900:4900"
volumes:
- ./develop/yacs-notice-service:/usr/src/app
web:
build: ./develop/yacs-web
ports:
- "4200:4200"
volumes:
- "./develop/yacs-web/src:/usr/src/app/src"
command: "ng build --watch"
# admin:
# build: ./develop/yacs-admin
# ports:
# - "4300:4300"
users:
build: ./develop/yacs-users
ports:
- "4400:4400"
volumes:
- "./develop/yacs-users:/usr/src/app"
tty: true
stdin_open: true
malg:
build: ./develop/yacs-malg
ports:
- "4500:4500"
volumes:
- "./develop/yacs-malg:/usr/src/app"
# kafka-manager:
# image: sheepkiller/kafka-manager:latest
# ports:
# - "9000:9000"
# links:
# - zookeeper
# - kafka
# environment:
# ZK_HOSTS: zookeeper:2181
# KM_ARGS: -Djava.net.preferIPv4Stack=true
# Planner Stuff!
# planner-web:
# build: ./develop/yacs-prereq-web
# depends_on:
# - planner-data
# ports:
# - "4700:4200"
# volumes:
# - ./develop/yacs-prereq-web/src:/usr/src/app/src
# command: "ng serve --host 0.0.0.0 --disable-host-check"
# planner-data:
# build: ./develop/yacs-prereq-data
# ports:
# - "4600:3100"
# expose:
# - "3100"