-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
110 lines (101 loc) · 2.64 KB
/
docker-compose.dev.yml
File metadata and controls
110 lines (101 loc) · 2.64 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
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
version: '3.8'
services:
mysql:
image: mysql:5.7.38
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=root1234
- MYSQL_DATABASE=mmall
- MYSQL_USER=mmall
- MYSQL_PASSWORD=mmall
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci
healthcheck:
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost" ]
timeout: 20s
retries: 10
redis:
image: redis:latest
ports:
- 6379:6379
command: redis-server --notify-keyspace-events Ex
mmall-configuration:
build: mmall-platform-configuration
restart: always
depends_on:
mysql:
condition: service_healthy
ports:
- 8888:8888
mmall-registry:
build: mmall-platform-registry
environment:
CONFIG_HOST: mmall-configuration
restart: always
depends_on:
mmall-configuration:
condition: service_healthy
ports:
- 8761:8761
mmall-gateway:
build: mmall-platform-gateway
depends_on:
mmall-configuration:
condition: service_healthy
environment:
CONFIG_HOST: mmall-configuration
REGISTRY_HOST: mmall-registry
restart: always
ports:
- 8080:8080
mmall-security:
build: mmall-domain-security
depends_on:
mmall-configuration:
condition: service_healthy
environment:
CONFIG_HOST: mmall-configuration
REGISTRY_HOST: mmall-registry
restart: always
ports:
- 8301:8301
mmall-account:
build: mmall-domain-account
depends_on:
mmall-configuration:
condition: service_healthy
environment:
CONFIG_HOST: mmall-configuration
REGISTRY_HOST: mmall-registry
AUTH_HOST: mmall-security
MYSQL_URL: jdbc:mysql://mysql/mmall?useUnicode=true&characterEncoding=utf-8
REDIS_HOST: redis
restart: always
mmall-warehouse:
build: mmall-domain-warehouse
depends_on:
mmall-configuration:
condition: service_healthy
environment:
CONFIG_HOST: mmall-configuration
REGISTRY_HOST: mmall-registry
AUTH_HOST: mmall-security
REDIS_HOST: redis
MYSQL_URL: jdbc:mysql://mysql/mmall?useUnicode=true&characterEncoding=utf-8
restart: always
ports:
- 8501:8501
mmall-payment:
build: mmall-domain-payment
depends_on:
mmall-configuration:
condition: service_healthy
environment:
CONFIG_HOST: mmall-configuration
REGISTRY_HOST: mmall-registry
AUTH_HOST: mmall-security
REDIS_HOST: redis
MYSQL_URL: jdbc:mysql://mysql/mmall?useUnicode=true&characterEncoding=utf-8
restart: always
ports:
- 8601:8601