-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.ms.yml
106 lines (94 loc) · 2.69 KB
/
docker-compose.ms.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
version: '3.7'
services:
apisix:
image: ${DOCKER_REGISTRY}go-saas-kit-apisix:${DOCKER_TAG:-latest}
volumes:
- ./quickstart/configs/apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
- ./quickstart/configs:/data/conf
depends_on:
- user
- saas
extra_hosts:
- "host.docker.internal:host-gateway"
user:
image: ${DOCKER_REGISTRY}go-saas-commerce-user:${DOCKER_TAG:-latest}
depends_on:
- mysqld
- redis
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
restart: unless-stopped
build:
context: .
dockerfile: ./user/Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
saas:
image: ${DOCKER_REGISTRY}go-saas-kit-saas:${DOCKER_TAG:-latest}
depends_on:
- user
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
realtime:
image: ${DOCKER_REGISTRY}go-saas-kit-realtime:${DOCKER_TAG:-latest}
depends_on:
- user
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
sys:
image: ${DOCKER_REGISTRY}go-saas-commerce-sys:${DOCKER_TAG:-latest}
depends_on:
- user
- saas
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
command: ["./sys", "-conf", "/data/conf"]
restart: unless-stopped
build:
context: .
dockerfile: ./sys/Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
ticketing:
image: ${DOCKER_REGISTRY}go-saas-commerce-ticketing:${DOCKER_TAG:-latest}
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
restart: unless-stopped
build:
context: .
dockerfile: ./ticketing/Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
order:
image: ${DOCKER_REGISTRY}go-saas-commerce-order:${DOCKER_TAG:-latest}
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
restart: unless-stopped
build:
context: .
dockerfile: ./order/Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
payment:
image: ${DOCKER_REGISTRY}go-saas-commerce-payment:${DOCKER_TAG:-latest}
volumes:
- ./quickstart/configs:/data/conf
- ./quickstart/.assets:/app/.assets
restart: unless-stopped
build:
context: .
dockerfile: ./payment/Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"