-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 999 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (41 loc) · 999 Bytes
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
services:
client:
platform: linux/amd64
build:
context: source/client
args:
- COMMIT_SHA
image: ${CYBER_DOJO_DIFFER_CLIENT_IMAGE}:${CYBER_DOJO_DIFFER_TAG}
user: ${CYBER_DOJO_DIFFER_CLIENT_USER}
depends_on:
- server
env_file: [ .env ]
read_only: true
restart: no
volumes:
- ./source/client:/differ/source/:ro
- ./test/client:/differ/test/:ro
- type: tmpfs
target: /tmp
tmpfs:
mode: 01777
size: 10485760 # 10MB
server:
platform: linux/amd64
build:
context: .
args:
- COMMIT_SHA
image: ${CYBER_DOJO_DIFFER_IMAGE}:${CYBER_DOJO_DIFFER_TAG}
user: ${CYBER_DOJO_DIFFER_SERVER_USER}
env_file: [ .env ]
read_only: true
restart: no
volumes:
- ./source/server:/differ/source/:ro
- ./test/server:/differ/test/:ro
- type: tmpfs
target: /tmp
tmpfs:
mode: 01777
size: 10485760 # 10MB