-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.template.yml
More file actions
75 lines (71 loc) · 1.52 KB
/
docker-compose.template.yml
File metadata and controls
75 lines (71 loc) · 1.52 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
version: '3.8'
services:
client-weplate:
container_name: client-weplate
build:
context: .
dockerfile: apps/client-weplate/Dockerfile
image: $ECR_REGISTRY/weplate/client-weplate:$VERSION
ports:
- "1111:1111"
deploy:
resources:
limits:
cpus: '0.5'
memory: 1024M
server-api:
container_name: server-api
build:
context: .
dockerfile: apps/server-api/Dockerfile
image: $ECR_REGISTRY/weplate/server-api:$VERSION
ports:
- "7777:7777"
deploy:
resources:
limits:
cpus: '0.25'
memory: 512M
server-auth:
container_name: server-auth
build:
context: .
dockerfile: apps/server-auth/Dockerfile
image: $ECR_REGISTRY/weplate/server-auth:$VERSION
ports:
- "5555:5555"
deploy:
resources:
limits:
cpus: '0.25'
memory: 512M
nginx:
container_name: nginx
build: apps/nginx
image: $ECR_REGISTRY/weplate/nginx:$VERSION
ports:
- "80:80"
depends_on:
- client-weplate
- server-api
- server-auth
deploy:
resources:
limits:
cpus: '0.1'
memory: 256M
nginx-health-check:
container_name: nginx-health-check
build: apps/nginx
image: $ECR_REGISTRY/weplate/nginx:$VERSION
ports:
- "8080:80"
depends_on:
- client-weplate
- server-api
- server-auth
deploy:
resources:
limits:
cpus: '0.1'
memory: 256M