-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
67 lines (65 loc) · 1.23 KB
/
compose.yaml
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
services:
velocity:
build:
context: ./velocity
dockerfile: ./dockerfile
target: prod
deploy:
resources:
reservations:
cpus: '2'
memory: 3G
limits:
cpus: '2'
memory: 3G
environment:
- XMS=1G
- XMX=1G
ports:
- "25577:25577"
tty: true
volumes:
- ./volumes/velocity:/velocity
# waterfall:
# build:
# context: ./waterfall
# dockerfile: ./dockerfile
# target: prod
# deploy:
# resources:
# reservations:
# cpus: '1'
# memory: 2.5G
# limits:
# cpus: '1'
# memory: 2.5G
# environment:
# - XMS=512M
# - XMX=512M
# ports:
# - "25577:25577"
# tty: true
# volumes:
# - ./volumes/waterfall:/waterfall
paper:
build:
context: ./paper
dockerfile: ./dockerfile
target: prod
deploy:
resources:
reservations:
cpus: '6'
memory: 12G
limits:
cpus: '6'
memory: 12G
environment:
- XMS=10G
- XMX=10G
ports:
- "25565:25565"
- "25575:25575"
tty: true
volumes:
- ./volumes/paper:/paper