-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
75 lines (67 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
63
64
65
66
67
68
69
70
71
72
version: '3'
services:
haproxy:
image: haproxy:alpine
ports:
- 80:80
- 443:443
links:
- webservice1
- webservice2
volumes:
- ./haproxy/local:/usr/local/etc/haproxy/
redis:
image: redis:3.0.3
hostname: redis
expose:
- 6379
mariadb:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=vetManager13
- MYSQL_DATABASE=vetmanager
- MYSQL_USER=vetmanager
- MYSQL_PASSWORD=vetManagerRemoteConnect1on
expose:
- 3306
mongo:
image: khezen/mongo:3.4
environment:
- AUTH=y
- ADMIN_USER=vetmanager
- ADMIN_PASSWORD=vetManager13
- DB_NAME=vetManagerSaaS
- DB_USER=vetmanager
- DB_PWD=vetManagerRemoteConnect1on
expose:
- 27017
iservice:
image: iservice:1.1
ports:
- 8083
webservice1:
image: webservice:1.1
depends_on:
- mariadb
- mongo
- iservice
- redis
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://mariadb/vetmanager
spring.data.mongodb.host: mongo
spring.redis.host: redis
ports:
- 8990
webservice2:
image: webservice:1.1
depends_on:
- mariadb
- mongo
- iservice
- redis
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://mariadb/vetmanager
spring.data.mongodb.host: mongo
spring.redis.host: redis
ports:
- 8990