-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (57 loc) · 1.24 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
version: '3'
services:
chat2-mysql:
build:
context: ./db
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD}
container_name: chat2-mysql
hostname: chat2-mysql
ports:
- "3306:3306"
chat2-redis:
image: redis:alpine
container_name: chat2-redis
hostname: chat2-redis
ports:
- "6379:6379"
chat2-rabbitmq:
image: rabbitmq:3.11-management
environment:
- RABBITMQ_DEFAULT_USER=${RABBIT_USERNAME}
- RABBITMQ_DEFAULT_PASS=${RABBIT_PASSWORD}
container_name: chat2-rabbitmq
hostname: chat2-rabbitmq
ports:
- "5672:5672"
- "15672:15672"
# chat-gateway:
# build:
# context: ./chat-gateway
# image: chat-gateway
# container_name: chat-gateway
# hostname: chat-gateway
# ports:
# - "9999:9999"
# restart: always
#
# chat-auth:
# build:
# context: ./chat-auth
# image: chat-auth
# container_name: chat-auth
# hostname: chat-auth
# depends_on:
# - chat-gateway
# restart: always
#
# chat-upms:
# build:
# context: ./chat-upms/chat-upms-biz
# image: chat-upms
# container_name: chat-upms
# hostname: chat-upms
# depends_on:
# - chat-gateway
# restart: always