-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
157 lines (155 loc) · 2.73 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
version: '3'
services:
api:
container_name: api
build:
context: api/.
dockerfile: Dockerfile.dev
image: dev-api
restart: always
ports:
- 6001:6000
depends_on:
- rabbitmq
- logger
networks:
- net
logger:
container_name: logger
build:
context: logger/.
dockerfile: Dockerfile.dev
image: dev-logger
restart: always
environment:
- SQLITE_DATABASE=log.db
ports:
- 6002:6000
volumes:
- log-volume:/data
networks:
- net
renderer:
container_name: renderer
build: renderer/.
image: dev-renderer
command: python3 Consumer.py
restart: always
depends_on:
- rabbitmq
- logger
- storage
networks:
- net
storage:
container_name: storage
build:
context: storage/.
dockerfile: Dockerfile.dev
image: dev-storage
restart: always
ports:
- 6003:6000
depends_on:
- redis
networks:
- net
webapp:
container_name: webapp
build:
context: webapp/.
dockerfile: Dockerfile.dev
image: dev-webapp
stdin_open: true
restart: always
ports:
- 80:3000
volumes:
- ./webapp/src:/vitaes/src
- ./webapp/public:/vitaes/public
depends_on:
- api
- storage
networks:
- net
mysql:
container_name: mysql
image: mysql:8.0
ports:
- 3306:3306
restart: always
environment:
- MYSQL_ROOT_PASSWORD=vitaes
volumes:
- mysql-volume:/var/lib/mysql
networks:
- net
rabbitmq:
container_name: rabbitmq
image: rabbitmq:alpine
ports:
- 15672:15672
restart: always
networks:
- net
redis:
container_name: redis
image: redis:alpine
restart: always
networks:
- net
grafana:
container_name: grafana
image: grafana/grafana
restart: always
ports:
- 6004:3000
volumes:
- grafana-volume:/var/lib/grafana
depends_on:
- influxdb
networks:
- net
influxdb:
container_name: influxdb
image: influxdb:1.7.4
restart: always
volumes:
- influxdb-volume:/var/lib/influxdb
networks:
- net
phpmyadmin:
container_name: phpmyadmin
image: phpmyadmin/phpmyadmin:5.0.2
restart: always
ports:
- 6006:80
environment:
- PMA_HOST=mysql
depends_on:
- mysql
networks:
- net
sqlite-web:
container_name: sqlite-web
image: coleifer/sqlite-web
restart: always
ports:
- 6005:8080
environment:
- SQLITE_DATABASE=log.db
volumes:
- log-volume:/data
networks:
- net
volumes:
mysql-volume:
external: true
grafana-volume:
external: true
influxdb-volume:
external: true
log-volume:
external: true
networks:
net: