-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.ms.yml
90 lines (81 loc) · 2.35 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
version: '3.7'
services:
configuration:
image: ghcr.io/lomray-software/microservices/configuration:${VERSION_TAG}
container_name: configuration
restart: always
environment:
DB_HOST: db
MS_CONNECTION: $MS_CONNECTION
MS_INIT_CONFIGS: $MS_INIT_CONFIGS
MS_INIT_MIDDLEWARES: $MS_INIT_MIDDLEWARES
gateway:
image: ghcr.io/lomray-software/microservices/gateway:${VERSION_TAG}
container_name: gateway
restart: always
ports:
- ${GATEWAY_PORT}:3000
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION
authentication:
image: ghcr.io/lomray-software/microservices/authentication:${VERSION_TAG}
container_name: authentication
restart: always
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION
authorization:
image: ghcr.io/lomray-software/microservices/authorization:${VERSION_TAG}
container_name: authorization
restart: always
environment:
MS_IMPORT_PERMISSION: $MS_IMPORT_PERMISSION
MS_CONNECTION: $MS_CONNECTION
depends_on:
- configuration
#volumes:
# - ./microservices/authorization/permissions:/var/www/lib/migrations/permissions/list
cron:
image: ghcr.io/lomray-software/microservices/cron:${VERSION_TAG}
container_name: cron
restart: always
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION
MS_INIT_TASKS: $MS_INIT_TASKS
notification:
image: ghcr.io/lomray-software/microservices/notification:${VERSION_TAG}
container_name: notification
restart: always
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION
users:
image: ghcr.io/lomray-software/microservices/users:${VERSION_TAG}
container_name: users
restart: always
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION
files:
image: ghcr.io/lomray-software/microservices/files:${VERSION_TAG}
container_name: files
restart: always
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION
payment-stripe:
image: ghcr.io/lomray-software/microservices/payment-stripe:${VERSION_TAG}
container_name: payment-stripe
restart: always
depends_on:
- configuration
environment:
MS_CONNECTION: $MS_CONNECTION