-
Notifications
You must be signed in to change notification settings - Fork 5
/
deploy.json
62 lines (62 loc) · 1.44 KB
/
deploy.json
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
{
"enabled": true,
"services": {
"backend": {
"build": "src/backend",
"environment": {
"FLAG": "{{`openECSC{{B377eR_7o_nO7_kNow_7h3_Tru7H_{}}}`}}",
"MONGODB_USERNAME": "slurmdb",
"MONGODB_PASSWORD": "redacted",
"MONGODB_HOST": "{{ .services.mongodb.hostname }}",
"MONGODB_PORT": "27017"
},
"volumes": [
{
"type": "tmpfs",
"container": "/company"
}
],
"depends-on": [
"mongodb"
]
},
"frontend": {
"build": "src/frontend"
},
"mongodb": {
"image": "mongo:7.0",
"environment": {
"MONGO_INITDB_ROOT_USERNAME": "slurmdb",
"MONGO_INITDB_ROOT_PASSWORD": "redacted"
}
},
"nginx": {
"image": "nginx:1.25",
"environment": {
"NGINX_ENVSUBST_OUTPUT_DIR": "/etc/nginx",
"BACKEND_HOST": "{{ .services.backend.hostname }}:80",
"FRONTEND_HOST": "{{ .services.frontend.hostname }}:3000"
},
"volumes": [
{
"type": "bind",
"host": "src/nginx.conf",
"container": "/etc/nginx/templates/nginx.conf.template",
"readonly": true
}
],
"expose": [
{
"type": "http",
"secure": false,
"container": 80,
"hostname": "slurm.challs.open.ecsc2024.it"
}
],
"depends-on": [
"frontend",
"backend"
]
}
}
}