-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (43 loc) · 1.19 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
version: '3.7'
services:
ragger-client:
build:
context: client
user: nobody
image: cyberdojo/ragger-client
init: true
container_name: test-ragger-client
ports: [ "5538:5538" ]
read_only: true
tmpfs: /tmp
restart: 'no'
volumes: [ "./test:/test/:ro" ]
depends_on: [ ragger ]
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ragger:
build:
context: app
args: [ COMMIT_SHA, CYBER_DOJO_RAGGER_PORT ]
user: nobody
image: ${CYBER_DOJO_RAGGER_IMAGE}
init: true
container_name: test-ragger-server
environment: [ NO_PROMETHEUS ]
export: ${CYBER_DOJO_RAGGER_PORT}
ports: [ "${CYBER_DOJO_RAGGER_PORT}:${CYBER_DOJO_RAGGER_PORT}" ]
read_only: true
tmpfs: /tmp
restart: 'no'
volumes: [ "./test:/test/:ro" ]
depends_on: [ runner ]
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
runner:
user: root
image: ${CYBER_DOJO_RUNNER_IMAGE}:${CYBER_DOJO_RUNNER_TAG}
init: true
environment: [ NO_PROMETHEUS ]
export: ${CYBER_DOJO_RUNNER_PORT}
read_only: true
tmpfs: /tmp
restart: 'no'
volumes: [ "/var/run/docker.sock:/var/run/docker.sock" ]