/
docker-compose.yml
46 lines (41 loc) · 1.14 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
version: '2.2'
services:
runner-processful-client:
build:
context: client
args:
- CYBER_DOJO_RUNNER_HOME=${CYBER_DOJO_RUNNER_HOME}
- PORT=${CYBER_DOJO_RUNNER_CLIENT_PORT}
user: nobody
image: cyberdojo/runner-processful-client
init: true
container_name: test-runner-processful-client
read_only: true
tmpfs: /tmp
restart: 'no'
depends_on:
- runner-processful
environment:
- CYBER_DOJO_RUNNER_SERVICE_NAME
- CYBER_DOJO_RUNNER_SERVICE_PORT
- CYBER_DOJO_COVERAGE_ROOT
ports:
- ${CYBER_DOJO_RUNNER_CLIENT_PORT}:${CYBER_DOJO_RUNNER_CLIENT_PORT}
# - - - - - - - - - - - - - - - - - - - - - - - - - -
runner-processful:
build:
context: server
args:
- CYBER_DOJO_RUNNER_HOME=${CYBER_DOJO_RUNNER_HOME}
- PORT=${CYBER_DOJO_RUNNER_SERVICE_PORT}
user: root
image: cyberdojo/runner-processful
init: true
container_name: test-runner-processful-server
read_only: true
tmpfs: /tmp
restart: 'no'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- CYBER_DOJO_COVERAGE_ROOT