forked from omegaup/omegaup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local-backend.yml
42 lines (37 loc) · 1.07 KB
/
docker-compose.local-backend.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
version: '3.3'
services:
gitserver:
build:
dockerfile: ./Dockerfile.local-backend
context: ./stuff/docker/
image: omegaup/local-backend
user: "${UID_GID}"
entrypoint: [
"wait-for-it",
"mysql:13306",
"--",
"/bin/bash",
"-c",
"cp /usr/bin/omegaup-gitserver /var/lib/omegaup/omegaup-gitserver && exec /usr/bin/omegaup-gitserver",
]
grader:
build:
dockerfile: ./Dockerfile.local-backend
context: ./stuff/docker/
image: omegaup/local-backend
user: "${UID_GID}"
entrypoint: ["wait-for-it", "mysql:13306", "--", "/usr/bin/omegaup-grader"]
broadcaster:
build:
dockerfile: ./Dockerfile.local-backend
context: ./stuff/docker/
image: omegaup/local-backend
user: "${UID_GID}"
entrypoint: ["/usr/bin/omegaup-broadcaster"]
runner:
build:
dockerfile: ./Dockerfile.local-backend
context: ./stuff/docker/
image: omegaup/local-backend
user: "${UID_GID}"
entrypoint: ["wait-for-it", "grader:11302", "--", "/usr/bin/omegaup-runner", "-noop-sandbox"]