-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (50 loc) · 1.17 KB
/
docker-compose.yml
File metadata and controls
58 lines (50 loc) · 1.17 KB
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
version: '3'
services:
discoveryservice:
image: aista/eureka
container_name: discoveryservice
ports:
- "8761:8761"
environment:
- 'eviction-interval-timer-in-ms: 1000'
mysqlserver:
image: mysql:5.7
container_name: mysqlserver
volumes:
- mysql-data:/var/lib/mysql:rw
restart: always
ports:
- '3306:3306'
environment:
MYSQL_USER:
MYSQL_PASSWORD:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: 'user_service'
userservice:
image: aista/user-service
container_name: userservice
depends_on:
- discoveryservice
- mysqlserver
ports:
- '8091:8080'
environment:
- RABBIT_HOST=rabbitmq
notificationservice:
image: aista/notification-service
container_name: notificationservice
depends_on:
- rabbitmq
ports:
- '32700:32700'
environment:
- RABBIT_HOST=rabbitmq
- EUREKA_SERVER=discoveryservice
rabbitmq:
image: rabbitmq:management
ports:
- "5672:5672"
- "15672:15672"
volumes:
mysql-data: