forked from chrultrabook/stoney-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (70 loc) · 1.56 KB
/
docker-compose.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
name: runtime-gameplayer-8
services:
vanilla:
build:
context: .
dockerfile: Dockerfile-vanilla
privileged: true
volumes:
- ".:/source"
- "./packages/:/dist"
working_dir: "/source"
restart: "no"
command: ["/bin/bash", "-c", "/source/runtime.sh vanilla /tmp"]
deploy:
resources:
limits:
cpus: "${NPROC_CPUS}"
vanilla-alpine:
build:
context: .
dockerfile: Dockerfile-vanilla-alpine
privileged: true
volumes:
- ".:/source"
- "./packages/:/dist"
working_dir: "/source"
restart: "no"
command: ["/bin/bash", "-c", "/source/runtime.sh vanilla /tmp"]
deploy:
resources:
limits:
cpus: "${NPROC_CPUS}"
debian:
build:
context: .
dockerfile: Dockerfile-vanilla
privileged: true
volumes:
- ".:/source"
- "./packages/:/dist"
- type: tmpfs
target: /tmp
tmpfs:
size: 16g
working_dir: "/source"
restart: "no"
command: ["/bin/bash", "-c", "/source/runtime.sh debian /tmp"]
deploy:
resources:
limits:
cpus: "${NPROC_CPUS}"
alpine:
build:
context: .
dockerfile: Dockerfile-vanilla-alpine
privileged: true
volumes:
- ".:/source"
- "./packages/:/dist"
- type: tmpfs
target: /tmp
tmpfs:
size: 16g
working_dir: "/source"
restart: "no"
command: ["/bin/bash", "-c", "/source/runtime.sh alpine /tmp"]
deploy:
resources:
limits:
cpus: "${NPROC_CPUS}"